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
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
-
10 months 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
-
10 months ago
(Last modified 10 months 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
-
10 months ago
(Last modified 9 months 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
-
10 months ago
(Last modified 10 months ago)
1
exercise1
PCRE2 (PHP >=7.3)
Punctuation
Submitted by
anonymous
-
10 months ago
(Last modified 10 months 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
-
10 months ago
1
Wikilinks
PCRE2 (PHP >=7.3)
A regular expression to capture the "page" element of every type of wikilinks
Submitted by
anonymous
-
10 months ago
1
Latex Old Matrix Command
PCRE2 (PHP >=7.3)
Used to update old latex code to use the new matrix commands for parsing by KaTeX
Submitted by
funkypickle
-
a year ago
1
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
French code ape
PCRE2 (PHP >=7.3)
Le code APE (activité principale exercée) permet d'identifier la branche d'activité principale du travailleur indépendant ou de la société.
Submitted by
anonymous
-
a year ago
1
Regex 02
PCRE2 (PHP >=7.3)
regex replace
Submitted by
anonymous
-
a year ago
1
7z l
PCRE2 (PHP >=7.3)
7z list
Submitted by
anonymous
-
a year ago
(Last modified 8 months ago)
1
For USA Numbers
PCRE2 (PHP >=7.3)
With this Expression you can validate US Numbers
Submitted by
anonymous
-
a year ago
1
NPC名称匹配
PCRE (PHP <7.3)
^\h{4}段首4个横向空格 +不包含左括号、换行符号的其他字符,1~无限循环 \((.*)\)$捕获处于()之中的任意字符内容,右括号在段尾
Submitted by
vicrly
-
a year ago
1
GIT commit title naming convention (strict), conforms to Conventional Commits
PCRE2 (PHP >=7.3)
GIT commit title naming convention (strict), conforms to Conventional Commits (https://www.conventionalcommits.org/en/v1.0.0/)
Submitted by
hexrw
-
a year ago
1
GIT branch naming conventions (strict)
PCRE2 (PHP >=7.3)
A complete validation for GIT branch names. Includes typical branch names such as main and develop as well as feature, release branches and more. Examples: feat/add-i18n-module release/v1.0.0 main...
Submitted by
hexrw
-
a year ago
1
Semantic Version Parser/Validator
PCRE2 (PHP >=7.3)
A regex expression that extracts the components of a semantic version and fails if the version does not conform to the semantic version spec. Based on the 2.0.0 spec
Submitted by
Vespion
-
a year ago
1
TermExtraction_Example
PCRE2 (PHP >=7.3)
Extracts Birth Place from Wikipedia Text
Submitted by
anonymous
-
a year ago
1
Discord Anti-Advertisement 2
Rust
Pair this with my Discord AutoMod Anti Advertisement for full protection against invites. Use this with Discord's Built In AutoMod.
Submitted by
dogknife
-
a year ago
(Last modified 10 months ago)
1
Find all hashtags
PCRE2 (PHP >=7.3)
This regex finds all hashtag (begin by #) in a whole string
Submitted by
Sébastien LHUILLIER
-
a year ago
(Last modified a year ago)
1
...
29
30
31
32
33
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){7}
[
A
-
Fa
-
f0
-
9
]
{1,4}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,6}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
::
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,5}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
/
gm
Open regex in editor
Description
Regex pattern detection for IPv4 addresses and IPv6 addresses in zero compression format.
Submitted by
Lewis Wigmore
-
10 months ago
(Last modified 10 months ago)