Regular Expressions 101

Sponsors

Library entries

1
javascript

Uppercase words

no description available
Submitted by MaaxZoom - 8 years ago
-2
javascript

Strict email validation

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

help?

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

Simple Date regex

With format dd/MM/yyyy
Submitted by Magador - 8 years ago
-1
python

woop

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

regex101-8846 on #regex

no description available
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