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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,100 community submitted regex patterns...
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
-
6 months ago
(Last modified 6 months 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
-
6 months 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
-
6 months ago
(Last modified 6 months 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.
-
6 months 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
-
6 months 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
-
6 months ago
1
Hex String identifier
PCRE2 (PHP >=7.3)
Hex string identifier
Submitted by
Fredrik Wallander
-
6 months ago
1
GUID Identifier
PCRE2 (PHP >=7.3)
GUID Identifier
Submitted by
Fredrik Wallander
-
6 months ago
1
Remove Country Code (Genesys DIalplan)
PCRE2 (PHP >=7.3)
Xformation rule on Trunk level
Submitted by
Istvan Laszlo
-
6 months ago
1
regex tokopedia shortlink affiliate
PCRE2 (PHP >=7.3)
regex for tokopedia shortlink affiliate
Submitted by
ival
-
6 months ago
1
regex tokopedia longlink
PCRE2 (PHP >=7.3)
regex tokopedia longlink
Submitted by
ival
-
6 months ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
6 months ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
6 months ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
6 months ago
1
Detect version of Chrome browser in navigator.userAgent
PCRE2 (PHP >=7.3)
Detect version of Chrome browser in navigator.userAgent
Submitted by
Avaray
-
6 months ago
1
Belgian license plate regex
ECMAScript (JavaScript)
Regex supporting new old license plates from Belgium but dus not support custom license plates
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
Typographic correction for SI units
ECMAScript (JavaScript)
Matches quantities dimensioned by SI units in typical markdown-formatted plaintext documents. Replaces any spaces or HTML entities between the number and its dimensions with a "narrow non-breaking space" character. This character may fallback to a "thin space" due to its font support. The lexicograp...
Submitted by
ecfrechette
-
5 months ago
(Last modified 5 months ago)
1
Dimensioned quantities in markdown, selected units
ECMAScript (JavaScript)
A more general match for numbers with units/dimensions in plaintext. This is unoptimized, a bit rough, and leaves out plenty of units while including some oddities. Use it as the first step to something better if you're linting md files. This was good enough for my use case, which doesn't care much ...
Submitted by
ecfrechette
-
5 months ago
1
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
5 months ago
1
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
Submitted by
anonymous
-
5 months ago
1
...
702
703
704
705
706
...
755
Password
16
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
*
[
0
-
9
]
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
@#$%^&+=.
\-
_*
]
)
(
[
a
-
zA
-
Z0
-
9@#$%^&+=*.
\-
_
]
){3,}
$
/
Open regex in editor
Description
Safe Password that allow only with a number, a lowercase, a uppercase, and a special character
Submitted by
davidlondono
-
9 years ago