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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
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
-
a year ago
(Last modified a year 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
-
a year ago
(Last modified a year ago)
1
integer only
PCRE2 (PHP >=7.3)
^[0-9]+$
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
a year ago
(Last modified a year ago)
1
Full name validation
ECMAScript (JavaScript)
Full name validation with latin caracters
Submitted by
edurbs
-
a year ago
(Last modified a year ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
a year 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
-
a year ago
(Last modified a year ago)
1
m3u8-ffzy
ECMAScript (JavaScript)
m3u8-ffzy
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
77870294
PCRE (PHP <7.3)
618001/041881 564094
Submitted by
960203095053
-
a year ago
(Last modified a year ago)
1
задание_03
Python
задание_03
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Cedula Paraguaya con Digito Verificador
PCRE2 (PHP >=7.3)
Valida la C.I. de Paraguay con DV (Opcional)
Submitted by
anonymous
-
a year 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
-
a year ago
1
Translations Regex
PCRE2 (PHP >=7.3)
Traduções pra ajudar a encontrar as mensagens em cada caso
Submitted by
anonymous
-
a year 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
-
a year ago
1
Unicode Mixed Case Word Detector
PCRE2 (PHP >=7.3)
Detects mixed case words using Unicode
Submitted by
Hooge
-
a year ago
1
Функции с сайта
PCRE2 (PHP >=7.3)
(\\)(.+)(\\)
Submitted by
anonymous
-
a year ago
1
Files
PCRE2 (PHP >=7.3)
Files
Submitted by
anonymous
-
a year ago
1
Folders
PCRE2 (PHP >=7.3)
Folders
Submitted by
anonymous
-
a year ago
1
Match morse code
ECMAScript (JavaScript)
This matches morse code input and leaves word break spaces
Submitted by
Ember
-
a year ago
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
a year ago
1
...
34
35
36
37
38
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
http
[
s
]
?
)
:
(?=
\/
)
\/\/
(?:
(?:
www
[
.
]
)?
youtube
[
.
]
(?:
[^
@
\/
.?#:
]
+
)
)
\/
(?:
redirect
)
(?:
\?
(?:
(?=
event=
(?:
[^
&#?
\/
@:
]
+
)
)
event=
[^
&#?
\/
@:
]
+
)
(?:
&
(?=
redir_token=
(?:
[
a
-
zA
-
z0
-
9
]
{206}
)
)
redir_token=
[
a
-
zA
-
z0
-
9
]
{206}
)?
(?:
[
&
]
[^
@#
]
+
)?
(?=
&q
)
&q=
(
[^
&#?
\/
@:
]
+
)
(?=
&
)
&
(?:
(?:
[^
&#?
\/
@:
]
*
)+
)
)
$
(?<!
[
#
]
)
(?:
[^
#
]
*
)
/
g
Open regex in editor
Description
Separate the youtube tracking redirect link to its main companions
Version 1
Python
PHP
Version 2
JavaScript
Java
PHP
C#
maybe more
Version 3
PHP
Java
C#
Possibly Javascript (with filtering)
Version 4 : Only bracket in return value
PHP
python
Golang
Java
C#
Rust
(can work but without support for php)
first inspiration taken from
here
Submitted by
TS
-
a year ago
(Last modified a year ago)