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...
0
IP address validation
PCRE2 (PHP >=7.3)
IP address validation
Submitted by
anonymous
-
a year ago
0
Auto sentence capitalization
PCRE2 (PHP >=7.3)
only works in implementations with \U
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Match XML Comment
PCRE2 (PHP >=7.3)
Match any XML comment in an XML Document
Submitted by
Anthony Bateman
-
a year ago
0
Special character finder
PCRE2 (PHP >=7.3)
yep
Submitted by
anonymous
-
a year ago
0
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
a year ago
0
Kaspersky Security Center update domains (HTTP)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from HTTP logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
Kaspersky Security Center KSN domains (TLS)
PCRE2 (PHP >=7.3)
Match a subset of Kaspersky Security Center KSN domains that use TLS port 1443 (in addition to 443) for exclusion from TLS logs
Submitted by
kernelmustard
-
a year ago
0
8 Character Password
PCRE2 (PHP >=7.3)
RegEx
Submitted by
anonymous
-
a year ago
0
Remove JSON value quotes
ECMAScript (JavaScript)
Removes quotes from value of JSON string
Submitted by
anonymous
-
a year ago
0
Regex PO
PCRE2 (PHP >=7.3)
Regex PO
Submitted by
anonymous
-
a year ago
0
Regex PO 2
PCRE2 (PHP >=7.3)
Regex PO 2
Submitted by
anonymous
-
a year ago
0
parse data URL
ECMAScript (JavaScript)
Parse Data URL like: data:image/png;base64,__iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==__
Submitted by
Alan S. Ferreira
-
a year ago
0
Matches words and groups words in quotes
ECMAScript (JavaScript)
Spilt a string grouping words in quotes. String: First Last "Full Name" Matches: First|Last|"Full Name"
Submitted by
Frosty
-
a year ago
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
a year ago
(Last modified a month ago)
0
Clearlinux Repository file pattern
PCRE2 (PHP >=7.3)
not production ready
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Parsing a Log File Entry
PCRE2 (PHP >=7.3)
This regular expression matches the start of the string at the position where we have one or more alphanumeric characters followed by a space. Afterwards, we have a digit (one or more). Later, we have one or more spaces followed by a time format followed by a space and alphanumeric characters. The i...
Submitted by
Muhammad Afroz Khan Ghauri
-
a year ago
0
Bangladeshi Phone Number Matching Regex
PCRE2 (PHP >=7.3)
Bangladeshi Any Phone Number Validated preg_match() in php function
Submitted by
anonymous
-
a year ago
0
Extract Dive Properties from Dive Code
PCRE2 (PHP >=7.3)
Extracts the following properties from a properly formatted dive code as specified by the World Aquatics organisation.
Submitted by
Hessel Bierma
-
a year ago
0
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
a year ago
0
Signals
PCRE2 (PHP >=7.3)
Replace Signal
Submitted by
RedFox Regex
-
a year ago
1
...
894
895
896
897
898
...
900
Community Library Entry
0
Regular Expression
Python
r"
^
(
(
^
|
(?<!
^
)
\\
.
)
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){4}
(
/
(
3
[
0
-
2
]
|
2
[
0
-
9
]
|
1
[
0
-
9
]
|
[
1
-
9
]
)
)
$
"
Open regex in editor
Description
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
-
3 years ago
(Last modified a year ago)