Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for sentence
#2
Solved: 11 Years, 4 Months ago
Hi Try this out

Code:
vText = "20DCTNB1"

Set oRegExp = New RegExp
oRegExp.IgnoreCase = True
oRegExp.Global=False
oRegExp.Pattern="^\w{4}TN\w{2}"

Msgbox oRegExp.Test(vText)


Messages In This Thread
Regular Expression for sentence - by gadaikalam - 05-25-2009, 11:06 AM
RE: Regular Expression for sentence - by manojith1984 - 05-27-2009, 11:43 AM
RE: Regular Expression for sentence - by Saket - 10-06-2009, 05:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,497 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,362 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,832 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,583 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,124 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)