RegEX for Email

B

Ben

Hi All,
I am using a regular expression for validating an email field.
ValidationExpression="\S+@\S+\.\S+"

This validates if the @ and . are missing but I need a more tight
validation - only 1 @ should be there etc.

Any help is greatly appreciated.

P.S I would have researched this more on my own but am under a tight
deadline for getting a module completed in the next few hours.

Thanks,
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top