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
Wikilinks
PCRE2 (PHP >=7.3)
A regular expression to capture the "page" element of every type of wikilinks
Submitted by
anonymous
-
a year ago
1
git-http-backend valid paths regex
PCRE2 (PHP >=7.3)
extracted from actual git-http-backend's source code, so you can use it directly without any worry https://github.com/git/git/blob/39fe402d6727efb6c98ddca19fae1f094ffaa6b3/http-backend.c#L713-L726C2
Submitted by
anonymous
-
a year ago
1
exercise1
PCRE2 (PHP >=7.3)
Punctuation
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Lakar Detector from Astadhyayi source text
ECMAScript (JavaScript)
// 1st: aashirling or vidhiling matches. empty string otherwise. // 2nd: i or e or o or r of lakar name l_ट or l_ङ. "" when अ. // 3rd: ट or ङ. // 4 through 13 are 9 dhatu forms Purusha(/)].
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Chinese Digits
PCRE (PHP <7.3)
Match Chinese Digits less than 1×10^16, such as “一千两百三十四万”、“八萬点七六五”、“玖仟玖佰玖拾玖万玖仟玖佰玖拾玖亿玖仟玖佰玖拾玖万玖仟玖佰玖拾玖点玖玖玖玖玖玖玖玖玖玖玖玖玖玖玖玖”,Upper and lower case Chinese can be mixed, but Chinese numbers and English numbers cannot be mixed. Illegal numbers will not be matched. For example: “两十六” will not be matched, as t...
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
IPv4 + IPv6 w/ Zero Compression
PCRE2 (PHP >=7.3)
Regex pattern detection for IPv4 addresses and IPv6 addresses in zero compression format.
Submitted by
Lewis Wigmore
-
a year ago
(Last modified a year ago)
1
File Hash (MD5, SHA1, SHA256, SHA512) Regular Expression
PCRE2 (PHP >=7.3)
Hash regular expression matches for md5, sha1, sha256 and sha512
Submitted by
anonymous
-
a year ago
1
Domain Regular Expression
PCRE2 (PHP >=7.3)
Domains with alphanumeric characters ranging from 3 to 9 in length, followed by a top-level domain (TLD) that is 2 to 3 characters long. Also, it accounts for the possibility of second-level domains such as .co.uk.
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
My citations remover.
PCRE2 (PHP >=7.3)
I don't know why but this probably sucks, it even detects spaces for some reason.
Submitted by
Noicc in discord.
-
a year ago
1
Get last child in [[hierachic.links.weblink]]
PCRE2 (PHP >=7.3)
Obsidian/Wikilinks/Dendron... uses Hierarchical notes (Roam)... I want to match the last then use VSC extension inline-fold : https://github.com/moalamri/vscode-inline-fold Thread https://github.com/dendronhq/dendron/issues/1751#issuecomment-1880952339...
Submitted by
anonymous
-
a year ago
0
Matching french integer numbers
PCRE2 (PHP >=7.3)
Matching french integer numbers : group digits by 3 with a space between groups
Submitted by
scalpa
-
a year ago
1
Discord links scam detector
PCRE2 (PHP >=7.3)
This regex tries to mitigate some of the most common scam practices found in discord since the support of masking links.
Submitted by
KifoPL
-
a year ago
1
Hex String identifier
PCRE2 (PHP >=7.3)
Hex string identifier
Submitted by
Fredrik Wallander
-
a year ago
1
GUID Identifier
PCRE2 (PHP >=7.3)
GUID Identifier
Submitted by
Fredrik Wallander
-
a year ago
1
Remove Country Code (Genesys DIalplan)
PCRE2 (PHP >=7.3)
Xformation rule on Trunk level
Submitted by
Istvan Laszlo
-
a year ago
1
regex tokopedia shortlink affiliate
PCRE2 (PHP >=7.3)
regex for tokopedia shortlink affiliate
Submitted by
ival
-
a year ago
1
regex tokopedia longlink
PCRE2 (PHP >=7.3)
regex tokopedia longlink
Submitted by
ival
-
a year ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
a year ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
a year ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
a year ago
1
...
342
343
344
345
346
...
902
Community Library Entry
0
Regular Expression
Python
r"
\d
{1,}
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
)
=
(
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
(
\+
|
\-
|
\*
|
\/
)
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
|
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
)
$
"
gm
Open regex in editor
Description
ONE reg expression to use
Submitted by
anonymous
-
5 years ago