How do u write a regular expression for date (dd/mm/yyyy) field and email Id?
Expression for date (dd/mm/yyyy) field
[0-3][0-9][/](([0][0-9])|([1][0-2]))[/][0-9]{4}
Expression for valid email id
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" +
@"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" +
@".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
http://
http://
Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com
Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=458
Click here to go on website
|