VALIDATION EXPRESSIONS
S No
Validation Type
Validation Expression
1
Numeric
^\d+$
2
Decimal
^[0-9]*\.?[0-9]*$
3
Zip Code
4
Phone Number
5
Email ID
^\d{5}$ (^x\s*[0-9]{5}$)|(^(\([1-9][0-9]{2}\)\s)?[1-9][0-9]{2}[0-9]{4}(\sx\s*[0-9]{5})?$) ^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$
6
Password Social Security Number (XXXXX-XXXX)
7
8
Date Time
.*[!@#$%^&*+;:].* ^\d{3}\-\d{2}\-\d{4}$
^(((((((0?[13578])|(1[02]))[\.\-/]?((0?[1-9])|([12]\d)| (3[01])))|(((0?[469])|(11))[\.\-/]?((0?[1-9])|([12]\d)|(30)))| ((0?2)[\.\-/]?((0?[1-9])|(1\d)|(2[0-8]))))[\.\-/]?(((19)| (20))?([\d][\d]))))|((0?2)[\.\-/]?(29)[\.\-/]?(((19)| (20))?(([02468][048])|([13579][26])))))$