Posts Tagged ‘expression’
Validate with regular expression Social Security with PHP?
Social Security Format : ### – ## – #### or 123456789.
I want to be able to validate the format that a user enters to match either of the above format, NOT to validate if its a real social security.
Please just paste the script below. I have tried many links from sites but when I test it, it doesn’t work. Please test it before submitting. Thanks in advance.
