class name changes to designate attribute

I'm new to screen-scraper and working on my first scrape.

The site I am scraping indicates that an action is confirmed as completed by changing the class name itself to indicate the item should be displayed bold. If I use a standard extractor pattern I can extract either bold data or non-bold data, but not both. It would seem I can do this with a sub-extractor pattern, but I'm wondering if there is a way to use a wildcard in the literal class name.

The html looks like:

OR

Also, I would like to be able to identify which rows are returned bold so I know which are confirmed.

Any suggestions on how best to handle this?

Thanks in advance.

class name changes to designate attribute

Scott --

Thanks for the reply. The regex that returned the results I desired was actually "[Bold]*", but thanks for providing the proper method to accomplish this.

class name changes to designate attribute

timz,

You'll accomplish this with the regex you use for your extractor pattern token. You'll only need to set up one extractor pattern token, as well. It would look like...

<td align="left" class="dataResults~@CONFIRMED@~">Illinois</td>

Where the regex for your CONFIRMED token would be "Bold*". Without the quotes. That says, match the string "Bold" zero or more times (the asterisk being the "zero or more times" part).

Now, any time you have a match on this pattern you'll know which ones are confirmed completed.

I hope this helps.

-Scott