|
|
|
|
Regular Expression for sentence
|
|
05-25-2009, 11:06 AM
Post: #1
|
|||
|
|||
|
Hi, Can anyone help me to write the regular expression for <html> Container <font color = red><B>20DCTNB1</B> </font> does not exist in the inventory. Considered as a Dummy Container </html> ==> 20DCTNB1 changes very often I tried <html> Container <font color = red><B>\w[A-Za-z0-9]{8}</B> </font> does not exist in the inventory. Considered as a Dummy Container </html> <html> Container <font color = red><B>".*TN*\."</B> </font> does not exist in the inventory. Considered as a Dummy Container </html> but not working. Anyone help me. Regds, samy G |
|||
|
05-27-2009, 11:43 AM
Post: #2
|
|||
|
|||
|
RE: Regular Expression for sentence
Hi Try this out
vText = "20DCTNB1" Set oRegExp = New RegExp oRegExp.IgnoreCase = True oRegExp.Global=False oRegExp.Pattern="^\w{4}TN\w{2}" Msgbox oRegExp.Test(vText) Thanks and Regards, Manojith Ramachandran |
|||
|
10-06-2009, 04:23 PM
Post: #3
|
|||
|
|||
|
RE: Regular Expression for sentence
Dear Frds,
Set dc= description.Create() dc("Label").Value= ".*does not exist in the inventory.*" The above dp working. But i have query how can i use in Check point. Plz help me... Regds, Samy G |
|||
|
10-06-2009, 05:00 PM
Post: #4
|
|||
|
|||
|
RE: Regular Expression for sentence
hey Sammy
Please open a new thread for your query. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Regular expression for this string | falvi | 2 | 238 |
04-30-2012 11:14 AM Last Post: falvi |
|
| regular expression | rjkmr.aiht | 0 | 146 |
04-27-2012 11:37 AM Last Post: rjkmr.aiht |
|
| Regular Expression | samverma | 3 | 348 |
03-31-2012 01:21 AM Last Post: samverma |
|
| Square Bracket Issue - Regular Expression | kapsig431 | 2 | 281 |
03-29-2012 08:38 PM Last Post: kapsig431 |
|
| Regular Expression for time in 24 hour format with out colon | Pallavi | 3 | 431 |
03-13-2012 11:29 AM Last Post: sshukla12 |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help


