last match

There is prob an easy way to do the following; any suggestions would be great!

Often, when searching for a pattern, I find too much. I end up taking a datarecord and searching for the same thing again inside results. Is there an easier way? For example I need to check for existance of 'Next', which is at the bottom. If found I want to extract the value '2', which is the next page. If I use the pattern

page=~@STARTFROM@~" class="pagerNotCurrent">Next

Then I get way too much. Is this clear?

Thank you!!
(This happens to be channel results from youtube for example http//www.youtube.com/profile_videos?user=warnerbrosrecords)

-Keith

12
3
4
5
Next

last match

Hi Keith,

The key on this one is to use regular expressions. In the "Edit Token" box you can select from (or enter your own) a number of regular expressions that allow you to make the matching much more precise. I'd recommend taking some time to explore that feature. We generally use regular expressions on almost every token on projects we work on.

Kind regards,

Todd Wilson

an idea

One idea is to take the entire section as a pattern, replacing each number as a token. Trying now. Is this the best way?

Example

~@ONE@~~@TWO@~
~@THREE@~
~@FOUR@~
~@FIVE@~
Next