how to validate email?email ie correct or not ?with below
conditions.
1)before @(symbol) only alphbates and min 4 char to max 15
chars.
2)before @(symbol) only alphabates dont use ant special
chars or numarics
3) after @(symbol) only one dot(.)symbol

for ex:abc@gmail.com it is valid email or not based above
conditons

Answers were Sorted based on User's Feedback



how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alph..

Answer / pradeep chowdary

This abc@gmail.com is not valid email
because before @ symbol there must be min 4 to max 15
characters that means min 4 characters must and should
Therefore it is not a valid email
This is as per my knowledge
If it is wrong pls correct me

PradeepChowdary

Is This Answer Correct ?    5 Yes 0 No

how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alph..

Answer / rajkiran singh

Hope this will help;

^[\w-\.]{4,15}+@([\w-]+\.)+[\w-]$

if you want more references.. http://www.regxlib.com/

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?

1 Answers  


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

1 Answers  


i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.

11 Answers   SAP Labs,


How to modify object property in qtp ?

0 Answers  


After running scripts how you report results ,there is any specific report form

1 Answers  






Why qtp the best testing tool?

0 Answers  


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

0 Answers  


In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?

2 Answers   TCS,


I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day

2 Answers  


how qtp handles customised object

1 Answers  


How to connect to the Database from QTP?

10 Answers   DB, Thatavarti Technologies, Xchanging,


what is automation(qtp)bug pls giv me one ex?

1 Answers  


Categories