If you're using either the professional or enterprise editions of screen-scraper the easiest way is to check the box under the advanced tab for the extractor pattern token in question that says, "Strip HTML".
Otherwise, you'll need to make three separate extractor tokens. One for the possible starting "href", one for the person's name and another for the possible closing "href" tag. For the first and the last tokens set your regular expression to be, "Ignore HTML tags" ((?:\s*<[^>]*>\s*)*) and your name token regular expression to, "Non-HTML tags" ([^<>]*).
You'll notice the ending "*" in each of these regular expressions. That simply means "match all or none". So, it will ignore the presence of the beginning and ending "href" tags whether they're there or not.
Here is an example that will work in all editions:
Beginner help.
steelaz,
If you're using either the professional or enterprise editions of screen-scraper the easiest way is to check the box under the advanced tab for the extractor pattern token in question that says, "Strip HTML".
Otherwise, you'll need to make three separate extractor tokens. One for the possible starting "href", one for the person's name and another for the possible closing "href" tag. For the first and the last tokens set your regular expression to be, "Ignore HTML tags" ((?:\s*<[^>]*>\s*)*) and your name token regular expression to, "Non-HTML tags" ([^<>]*).
You'll notice the ending "*" in each of these regular expressions. That simply means "match all or none". So, it will ignore the presence of the beginning and ending "href" tags whether they're there or not.
Here is an example that will work in all editions:
~@number@~. ~@start_href@~~@name@~~@end_href@~<br />
...and an example for professional or enterprise when you select "Strip HTML" under the advanced tab:
~@number@~. ~@name@~<br />
Set the "number" token regex to "Number" (\d*).
Hope this helps.
-Scott