is it the right reqular expression

Posted by girish on Stack Overflow See other posts from Stack Overflow or by girish
Published on 2010-06-08T04:45:28Z Indexed on 2010/06/08 4:52 UTC
Read the original article Hit count: 317

Filed under:

i have following regular expression but it's not working properly it takes only three values after @ sign but i want it to be any number length

"/^[a-zA-Z0-9_.-]+\@([a-zA-Z0-9-]+.)+[a-zA-Z0-9]{2,4}$/"

this@thi This is validated this@this It is not validating this expression

Can you please tell me what's the problem with the expression... Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET