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 17,180 community submitted regex patterns...
0
Validates Against YYYY
ECMAScript (JavaScript)
This regex checks if a user has input 4 digit year integer.
Submitted by
@izotope115
-
8 years ago
0
Check That User Has Input Valid YYYY
ECMAScript (JavaScript)
This simple regex checks if a user has input correct YYYY format.
Submitted by
@izotope115
-
8 years ago
4
DNS hostname well-formedness validation
PCRE (PHP <7.3)
Validates that a DNS hostname is well-formed only. You will still need to check that the overall length of the hostname, including the implied trailing "." (if not present), does not exceed 255 bytes.
Submitted by
Jeff Walter
-
8 years ago
1
yFrame Origin Filter
ECMAScript (JavaScript)
Pattern used to filter URL origin (protocol:host) for yFrame.
Submitted by
grese
-
8 years ago
1
ISO, UK/US and international numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Sunless Sea Game Note
Python
no description available
Submitted by
MestreLion
-
8 years ago
1
Trim Regex
PCRE (PHP <7.3)
no description available
Submitted by
Gabriel R. Sezefredo
-
8 years ago
1
Trim Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
elabFK
PCRE (PHP <7.3)
solution for matching
Submitted by
FK
-
8 years ago
1
SunlessSea Advanced Parser
PCRE (PHP <7.3)
for [d:] and [q:]
Submitted by
MestreLion
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Search Ext.Logger with <debug> tag
PCRE (PHP <7.3)
no description available
Submitted by
Henry Nguyen
-
8 years ago
1
find file name with file extension
PCRE (PHP <7.3)
find file name with file extension
Submitted by
rainyseason
-
8 years ago
1
how to solve this?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
catch out a filed repeate more times
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
github user/repo regex
Python
parses user/repo
Submitted by
luckydonald
-
8 years ago
1
Regex Groups
PCRE (PHP <7.3)
Complicated Example changing 2 values in a found string
Submitted by
anonymous
-
8 years ago
1
Repeating numbers
ECMAScript (JavaScript)
Repeating numbers (11111,22222,333333)
Submitted by
Selva
-
8 years ago
1
deobfusc js
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
not match first string
PCRE (PHP <7.3)
sgsg
Submitted by
ad
-
8 years ago
1
...
680
681
682
683
684
...
859
Russian mobile number normilizer (dumb)
-2
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
0187
]
?
|
\+
[
87
]
?
)
[
-
.
]
?
(?:
(
\(
[
2
-
9
]
\d
{2}
\)
|
[
2
-
9
]
\d
{2}
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
[
-
.
]
?
(
\d
)
[
-
.
]
?
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
fullpipe
-
10 years ago