Validator Question

P

Patrick.O.Ige

Validating an email like (e-mail address removed) with expression :-
ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
About if i want to validate (e-mail address removed)
Any ideas?
 
S

Scott M.

Just a guess:

ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)+\.(com|net|org|edu|mil)$"

or

ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$+\.(com|net|org|edu|mil)$"
 
N

naija naija

Scott i tried that but it wasn't validating.!!
It had an Jscript error!
PAtrick
 

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,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top