Regular Expressions 101

Sponsors

Library entries

1
pcre

cvdfd

no description available
Submitted by anonymous - 8 years ago
2
pcre

PO Box Address Validation

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

regex101

no description available
Submitted by anonymous - 8 years ago
0
pcre

URLs

split URL in 2 parts
Submitted by A.L - 8 years ago
1
pcre

LGC regex

FIX
Submitted by anonymous - 8 years ago
1
pcre

LGC regex

no description available
Submitted by anonymous - 8 years ago
1
pcre

Subquery

no description available
Submitted by anonymous - 8 years ago
0
pcre

Find color

no description available
Submitted by anonymous - 8 years ago
1
javascript

match url

unsplash.com
Submitted by anonymous - 8 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