08-28-2008, 03:54 PM
Hi all,
Can Any one please tell me which regular expression we can use to validate E-mail address in qtp??
Thnx in advance....
Regular Expressions for e-mail address
|
08-28-2008, 03:54 PM
Hi all, Can Any one please tell me which regular expression we can use to validate E-mail address in qtp?? Thnx in advance....
09-03-2008, 04:26 AM
*@*.*
02-03-2009, 02:14 PM
Hi
This is the reg Exp for E-Mail Address ".*@.*\.com" Thanks VENKATA
Hi,
For example if your email Id is in the following format abc.xyz@pqr.com then use this : Code: (\w+)(\.)(\w+)(\@)(\w+)(\.)(w+) if your email Id is in the following format abc_xyz@pqr.com then use this : Code: (\w+)(\_)(\w+)(\@)(\w+)(\.)(w+) if your email Id is in the following format abc.xyz@pqr.com or abc_xyz@pqr.com or abc-xyz@pqr.com or abc@pqr.com then use this : Code: ((\w+)(\.|\_|\-)(\w+)|(\w+))(\@)(\w+)(\.)(w+) Raja
08-13-2009, 02:22 PM
Hi Ganesh,
Use this below Regular Expression pattern to match any valid email id. Code: sPattern="\b[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}\b" Thanks, Azeem
02-05-2017, 08:01 PM
Code For Regular Expression Try This
"^[0-9a-z*()_+%$#@!^&*=+./\}{]+@[a-z]+\.[a-z]{2,3}$"
08-23-2022, 02:51 PM
I think the issue is addressed. I agree with Vijay Kumar over there. That code worked for me with the given issue. You should try this as well
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to disable regular expressions in a text? | ttralor | 6 | 6,713 |
07-05-2013, 02:44 PM Last Post: Staff |
|
Need help on using regular expressions on Java Window's title | qa_tester | 3 | 5,058 |
02-13-2012, 10:56 PM Last Post: madsenfr |
|
java window titles & regular expressions | jotdog2 | 1 | 4,220 |
02-13-2012, 10:55 PM Last Post: madsenfr |
|
Process to use Regular Expressions in QTP using screen shots. | yvslraotesting@gmail.com | 1 | 3,502 |
01-31-2012, 12:45 PM Last Post: basanth27 |
|
Mail ID using Regular Expression | asisha | 2 | 6,875 |
06-07-2011, 06:58 PM Last Post: vIns |