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,040 community submitted regex patterns...
0
Lb4 8-15
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 1d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Dutch postalcode validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Initials matcher
PCRE (PHP <7.3)
Matches "J.M.D", but will not match "Jordy". Only matches initials
Submitted by
anonymous
-
7 years ago
0
C# class name in file
PCRE (PHP <7.3)
no description available
Submitted by
flexford
-
7 years ago
0
Search mysql field for word beginning with until all withspace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Find/replace with 1 group capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Img link to div
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
7 years ago
0
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
7 years ago
0
Extract /24 (IPv4) or /64 (IPv6)
PCRE (PHP <7.3)
This extracts the first three octets of an IPv4 address, or the first half of an IPv6 address. This may be suitable for classifying addresses by address groups.
Submitted by
anonymous
-
7 years ago
0
Extract domain name from fully-qualified name
PCRE (PHP <7.3)
This attempts to extract the top-level domain name from a fully-qualified name. It recognizes the third-level domain structure commonly used by the .uk TLD, extracts only the 2LD.TLD from the common legacy TLDs (com, net, org, etc.). It will undoubtedly need some care and feeding as new TLDs becom...
Submitted by
anonymous
-
7 years ago
0
PFITS Comments Strip HTML Tags
Python
Final version used in script.
Submitted by
Landon Sutherland
-
7 years ago
0
Regular expression in PHP to return array with all images from html
PCRE (PHP <7.3)
Example: preg_match_all('//', '', $arr, PREG_PATTERN_ORDER); Returns:...
Submitted by
anonymous
-
7 years ago
0
Lb 4 email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 familia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 kavichek
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 kavichek top
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 serinii nomer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
460
461
462
463
464
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?<time>
\d
{4}
-
\d
{1,2}
-
\d
{1,2}
\d
{1,2}
:
\d
{1,2}
:
\d
{1,2}
)
\[
(?<thread>
.
*
)
\]
(?<level>
[^
\s
]
+
)
(?<message>
.
*
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago