Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
regular expression
#8
Solved: 11 Years, 3 Months, 4 Weeks ago
Should work. I noticed the span tags in your Junk description. I wouldn't think that would come over as part of the text, but if it is, then the expression needs to be adapted to allow it. You can try using:

Code:
msgbox Browser().Page().Link(your link).TOProperty("Text")

That will display the text for the link so you can verify any additional text needed for your expression.

Also check for a space between (Junk) and $. Your post shows one.
I would really try to use the HTML ID tag instead of the text. You are obviously doing some sort of email application and the link text can change, but the HTML ID should always be the same. View the source of the page and see if it has an ID you can use.
Reply


Messages In This Thread
regular expression - by bangla123 - 10-06-2010, 12:30 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 12:39 AM
RE: regular expression - by bangla123 - 10-06-2010, 12:46 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 12:52 AM
RE: regular expression - by bangla123 - 10-06-2010, 12:52 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:02 AM
RE: regular expression - by bangla123 - 10-06-2010, 01:06 AM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:16 AM
RE: regular expression - by bangla123 - 10-06-2010, 01:26 AM
RE: regular expression - by Pallavii - 10-06-2010, 02:37 PM
RE: regular expression - by bangla123 - 10-06-2010, 10:34 PM
RE: regular expression - by cdesserich - 10-07-2010, 01:07 AM
RE: regular expression - by bangla123 - 10-07-2010, 08:52 PM
RE: regular expression - by jsknight1969 - 10-06-2010, 01:37 AM
RE: regular expression - by bangla123 - 10-06-2010, 02:08 AM
RE: regular expression - by cdesserich - 10-06-2010, 04:17 AM
RE: regular expression - by bangla123 - 10-06-2010, 09:13 PM
RE: regular expression - by cdesserich - 10-08-2010, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,495 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,361 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,830 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,576 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,123 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 8 Guest(s)