Sunday, May 15, 2011

Regural Expression

Pincode:
"\d{5}

Fro Number Only:
"^[0-9]+$"
Fro Date :mm/dd/yyyy or mm.dd.yyyy or mm-dd-yyyy

"(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d"

No comments:

Post a Comment