Regular Expressions 101

Sponsors

Library entries

-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
-2
python

python bracketed text

why doesn't this match text in brackets?
Submitted by anonymous - 8 years ago
2
javascript

html font to bbcode

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

big apple is fool

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

text beetween text

no description available
Submitted by karol - 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