Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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})(\]?)$

Share this article   |    Print    |    Article read by 3588 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles:
Related Interview Questions: