Regular Expressions 101

Sponsors

Library entries

2
javascript

e164 format

e164 format
Submitted by anonymous - 8 years ago
2
pcre

donotbackup

finding directories w/ donotbackup
Submitted by anonymous - 8 years ago
2
pcre

IPv4

no description available
Submitted by Jorge C. - 8 years ago
2
pcre

Currency Amount

Format: x0.00 Valid: 13.37 4.20 1.00...
Submitted by anonymous - 8 years ago
2
pcre

PO Box Address Validation

no description available
Submitted by mrferos - 7 years ago
2
pcre

Extract Metadata

no description available
Submitted by kai_desu - 7 years ago

phone regex

Vote

2

Regular Expression
javascript

/
(?=.*?\d{3}( |-|.)?\d{4})((?:\+?(?:1)(?:\1|\s*?))?(?:(?:\d{3}\s*?)|(?:\((?:\d{3})\)\s*?))\1?(?:\d{3})\1?(?:\d{4})(?:\s*?(?:#|(?:ext\.?))(?:\d{1,5}))?)\b
/
gi

Description

Loading markdown...
Submitted by Mélissa Dumont - 8 years ago