Back

Test Pattern for data validation

Test Pattern for data validation:



Internet URL = http://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?

US Phone Number = ((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}

US Social Security Number = \d{3}-\d{2}-\d{4}

US Complex Zip Code = \d{5}(-\d{4})?

Email address = [\w-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+