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

Explain different types of checkpoints?

0 Answers  


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

1 Answers  


Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.

3 Answers   Infosys,


why require regression testing?

2 Answers   TCS,


What is an Custom Object in QTP ?

1 Answers  






what is difference between analog and low level recording

2 Answers   Intel,


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

0 Answers  


how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?

1 Answers  


can u explain relative path architecture framework in qtp?

0 Answers   Mindlance,


Explain quicktest professional testing process?

0 Answers  


How to parameterize in QTP?

4 Answers  


explain qtp framework by taking an example?

3 Answers  


Categories