RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Social Security Number
Expression
^(\d{3}-\d{2}-\d{4})|(\d{3}\d{2}\d{4})$
Description
This will accept SSN in the form of 123-45-6789 OR 123456789.
Matches
123-45-6789 | 123456789 | 456-63-6666
Non-Matches
123-45-459a | 222-2-2222 | 222-222222
Author Rating: The rating for this expression. Epaphrodite Dusingizimana
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials