Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Library entries

0
pcre
Submitted by anonymous - 3 minutes ago

model value

for Levi
0
pcre2
Submitted by Suraj Shah - 2 hours ago

Youtube Regex

Regex for youtube pattern
0
pcre2
Submitted by anonymous - 18 hours ago

Regix xinj xof

Bebebe
0
pcre2
Submitted by yimao - a day ago

KUN task name tempalte

Quick template to name a KUN task
0
python
Submitted by guif - 2 days ago

regex_restauration_V3

regex
0
python
Submitted by guif - 2 days ago

REGEX_SAUF_RESTAURATION_V1

regex
0
javascript
Submitted by anonymous - 2 days ago

fopen

asdf
0
pcre2
Submitted by Vipul Jha - 2 days ago

Indian Pincode

Indian area Pincode regex
0
pcre2
Submitted by PrimeTime416 - 2 days ago

HTML Table Parse

The pulls in and groups all HTML tables.
1
javascript
Submitted by donivanes - 3 days ago

Greater manchester postcode validation

🤯
0
javascript
Submitted by anonymous - 3 days ago

match

ádf
0
python
Submitted by guif - 4 days ago

regex_restauratio_Vé

regex
0
python
Submitted by guif - 4 days ago

regex_restauration

regex
0
pcre2
Submitted by fl0 - 4 days ago

parse/replace closed tag

parse and replace a {tag}..{/tag} or {tag}

RegEx to add any valid US phone number inputs

Vote

1

Regular Expression
pcre2

/
^(1?)(?:((\s?\(\d{3}\)\s?|\s?\d{3}\s?)\-?\d{3}\s?\-?\d{4}$))
/
gm

Description

Loading markdown...
Submitted by @abhi00o7 - 7 days ago