Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 8,060 community submitted regex patterns...
1
Match morse code
ECMAScript (JavaScript)
This matches morse code input and leaves word break spaces
Submitted by
Ember
-
6 months ago
1
Folders
PCRE2 (PHP >=7.3)
Folders
Submitted by
anonymous
-
6 months ago
1
Files
PCRE2 (PHP >=7.3)
Files
Submitted by
anonymous
-
6 months ago
1
Функции с сайта
PCRE2 (PHP >=7.3)
(\\)(.+)(\\)
Submitted by
anonymous
-
6 months ago
1
Unicode Mixed Case Word Detector
PCRE2 (PHP >=7.3)
Detects mixed case words using Unicode
Submitted by
Hooge
-
6 months ago
1
regex vietnam number phone
PCRE2 (PHP >=7.3)
regex phone number all telco in Vietnam. at 11/08/2023
Submitted by
hao.nguyen
-
6 months ago
1
Translations Regex
PCRE2 (PHP >=7.3)
Traduções pra ajudar a encontrar as mensagens em cada caso
Submitted by
anonymous
-
5 months ago
1
URL Checker
ECMAScript (JavaScript)
Allows to extract or check if the text includes different URLs, allowing for you to check different kinds of links from the simple ones up to the more complex ones that includes prefix, subdomain, domain, entire website name and subpages.
Submitted by
kyunishya
-
5 months ago
1
Cedula Paraguaya con Digito Verificador
PCRE2 (PHP >=7.3)
Valida la C.I. de Paraguay con DV (Opcional)
Submitted by
anonymous
-
5 months ago
1
задание_03
Python
задание_03
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
m3u8-ffzy
ECMAScript (JavaScript)
m3u8-ffzy
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
nmcli WiFi list
PCRE2 (PHP >=7.3)
Extract different fields from the list output of nmcli: nmcli --terse --colors no --fields IN-USE,BSSID,SSID,MODE,CHAN,RATE,SIGNAL,BARS,SECURITY,FREQ,DEVICE device wifi list
Submitted by
Simon Bagley
-
5 months ago
(Last modified 5 months ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
5 months ago
1
Full name validation
ECMAScript (JavaScript)
Full name validation with latin caracters
Submitted by
edurbs
-
5 months ago
(Last modified 5 months ago)
1
integer only
PCRE2 (PHP >=7.3)
^[0-9]+$
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
car licence registry (placa de carro)
ECMAScript (JavaScript)
brazilian car licence registry validation (validação de placa de carro brasileira e mercosul)
Submitted by
edurbs
-
5 months ago
(Last modified 5 months ago)
1
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
5 months ago
(Last modified 5 months ago)
1
SUT - Package Matching
PCRE2 (PHP >=7.3)
test
Submitted by
MHE
-
5 months ago
1
Akamai - Extended + Custom field + GhostIP + CacheStatus + WAF
PCRE2 (PHP >=7.3)
Akamai LDS log format - Extended + Custom field + GhostIP + CacheStatus + WAF
Submitted by
anonymous
-
5 months ago
1
Email regex for JS
ECMAScript (JavaScript)
This reges do not covering long emails. It should check domian (64) and page name(255) limits.
Submitted by
SnaYQ
-
5 months ago
(Last modified 5 months ago)
1
...
116
117
118
119
120
...
403
Match a phone number formatted using North American Numbering Plan (NANP)
0
Regular Expression
Python
r"
^
[
]
*
(?:
(?:
\+
)?
1
)?
[
]
*
(
\(
)?
(?:
[
2
-
9
]
[
0
-
9
]
{2}
)
(?(1)
\)
)
[
]
*
(?:
-
|
\.
)?
[
]
*
(?:
[
2
-
9
]
[
0
-
9
]
{2}
)
[
]
*
(?:
-
|
\.
)?
[
]
*
[
0
-
9
]
{4}
[
]
*
$
"
gm
Open regex in editor
Description
More Details:
https://exercism.org/tracks/python/exercises/phone-number
Submitted by
Nishant Misra
-
3 years ago
(Last modified 3 years ago)