Quick Search:
 PHP Code: Regex Matching Patterns Jump to:  
Category: >> PHP Code >> Regex Matching Patterns  

<< lastnext >>

Snippet Name: Regex Matching Patterns

Description: Some miscellaneous regex patterns to match common items.

Comment: (none)

Language: REGEX
Highlight Mode: HTML4STRICT
Last Modified: February 27th, 2009

Social Security Number
^(?!000)([0-6]\d{2}|7([0-6]\d|7[012]))([ -]?)(?!00)\d\d\3(?!0000)\d{4}$
US phone with or without parentheses
ISO Date (19th to 21st century only)

   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org