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,000 community submitted regex patterns...
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
a year ago
1
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
a year ago
1
blek! File ResourceD resource regex
PCRE2 (PHP >=7.3)
Used in https://git.blek.codes/blek/bfile
Submitted by
anonymous
-
a year ago
1
Domain name validator
PCRE2 (PHP >=7.3)
Validates domain names. Support https:// or http:// prefix.
Submitted by
._thunderstrike
-
a year ago
1
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
a year ago
1
Simple path detector
PCRE2 (PHP >=7.3)
Detect paths under Windows format.
Submitted by
._thunderstrike
-
a year ago
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
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
Folders
PCRE2 (PHP >=7.3)
Folders
Submitted by
anonymous
-
a year ago
1
Files
PCRE2 (PHP >=7.3)
Files
Submitted by
anonymous
-
a year ago
1
Функции с сайта
PCRE2 (PHP >=7.3)
(\\)(.+)(\\)
Submitted by
anonymous
-
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
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
Translations Regex
PCRE2 (PHP >=7.3)
Traduções pra ajudar a encontrar as mensagens em cada caso
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
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
задание_03
Python
задание_03
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
m3u8-ffzy
ECMAScript (JavaScript)
m3u8-ffzy
Submitted by
anonymous
-
a year ago
(Last modified 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
...
799
800
801
802
803
...
900
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)