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
Community Patterns
Search among 6,140 community submitted regex patterns...
1
{{ start and and tags }}
PCRE2 (PHP >=7.3)
Not allowing strings that start with {{ or and with }} or }}.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
bold question mark line
PCRE2 (PHP >=7.3)
bold question mark line
Submitted by
anonymous
-
2 years ago
0
Şekil sayı'ek
ECMAScript (JavaScript)
Şekil 1'de Şekil 6.'da Şekil 5'te
Submitted by
anonymous
-
2 years ago
0
Cümle içi atıf
ECMAScript (JavaScript)
Yazar ve Yazar (2022)
Submitted by
caner
-
2 years ago
0
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
2 years ago
0
Change GDevelop game to use a different extension name
PCRE2 (PHP >=7.3)
Move all shield-related functions into a new behavior called "Shield". For example: BEFORE: "value": "Health::Health::IsDamageCooldownActive" "value": "Health::Health::RegenShieldWhenZero" ...
Submitted by
Victris Games
-
2 years ago
0
Color Codes
ECMAScript (JavaScript)
hi
Submitted by
12944qwerty
-
2 years ago
0
aws incognito Identity Pool
PCRE2 (PHP >=7.3)
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
2 years ago
0
Inner field values extraction
Java 8
Inner field values extraction
Submitted by
anonymous
-
2 years ago
0
Replace function declaration with const arrow function
PCRE2 (PHP >=7.3)
Captures a function declaration and changes it to an arrow function with const at the beginning.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Key - Value extractor
Java 8
Key - Value extractor
Submitted by
anonymous
-
2 years ago
0
Email Regex 320 chars
PCRE2 (PHP >=7.3)
Email Regex 320 chars
Submitted by
anonymous
-
2 years ago
0
get custom emoji
PCRE2 (PHP >=7.3)
Hello :smiley: i love :chocolate:
Submitted by
anonymous
-
2 years ago
0
Amazon AWS Access Key ID (Legacy)
ECMAScript (JavaScript)
{ "Expressions": { "Amazon AWS Access Key ID (Legacy)": { "Expression": "AKIA[0-9A-Z]{16}", "Unit-Tests": [ {...
Submitted by
Jacob Sanders
-
2 years ago
0
CEP Regex Brazil
PCRE2 (PHP >=7.3)
Regex para validação de CEP
Submitted by
Jasmini Santos
-
2 years ago
(Last modified 2 years ago)
1
Decimal number (Restricted)
ECMAScript (JavaScript)
Matches decimal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Dozenal number (Restricted)
ECMAScript (JavaScript)
Matches dozenal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
0
整数+小数+科学计数法的匹配
ECMAScript (JavaScript)
整数+小数+科学计数法的匹配 匹配顺序是从左到右依次 科学计数法------小数/整数----简写型小数
Submitted by
sikara
-
2 years ago
1
Dozenal number
ECMAScript (JavaScript)
Matches any dozenal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Unformatted Dozenal number
ECMAScript (JavaScript)
Matches any mathematically correct dozenal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
...
74
75
76
77
78
...
307
IP/MASK or IP/CIDR (accept 5.5.5.0/255.255.255.0 and 5.5.5.0/24)
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\/
(
(
(
((
[
0
-
9
]
)|
(?:
[
1
-
2
]
[
0
-
9
]
)|
(?:
3
[
0
-
2
]
))
|
((
[
1
-
9
]
?
\\
d
|
1
\\
d
\\
d
|
25
[
0
-
5
]
|
2
[
0
-
4
]
\\
d
)
\.
){3}
(
[
1
-
9
]
?
\\
d
|
1
\\
d
\\
d
|
25
[
0
-
5
]
|
2
[
0
-
4
]
\\
d
)
((
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
)
\.
){3}
(
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
)
)
)
|
(
(
(
255
\.
){3}
(
255
|
254
|
252
|
248
|
240
|
224
|
192
|
128
|
0
+
)
)
|
(
(
255
\.
){2}
(
255
|
254
|
252
|
248
|
240
|
224
|
192
|
128
|
0
+
)
\.
0
)
|
(
(
255
\.
)
(
255
|
254
|
252
|
248
|
240
|
224
|
192
|
128
|
0
+
)
(
\.
0
+
){2}
)
|
(
(
255
|
254
|
252
|
248
|
240
|
224
|
192
|
128
|
0
+
)
(
\.
0
+
){3}
)
)
)
$
/
mg
Open regex in editor
Description
IP/MASK or IP/CIDR (accept 5.5.5.0/255.255.255.0 and 5.5.5.0/24)
Submitted by
anonymous
-
5 years ago