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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,680 community submitted regex patterns...
0
Publicly addressable IP addresses, excluding private ranges.
PCRE (PHP <7.3)
Valid IP Octets include: 1-9 & 11-223, then 0-255, twice, then 1-254 but with no leading zeroes. This will exclude the 10.0.0/8 private IP range, the reserved and multi-cast range, 224.0.0.0 and up, as well as the private IP ranges 172.16.0.0/12 and 192.168.0.0/16. In other words, this will addres...
Submitted by
Schvenn
-
9 years ago
0
Command line arguments split
PCRE (PHP <7.3)
From http://stackoverflow.com/a/19856614/561545
Submitted by
anonymous
-
9 years ago
0
Match SysLog Struvtured Data Elements
PCRE (PHP <7.3)
Matches structured data elements multiple times Groups on SD-ID, keys, values
Submitted by
anonymous
-
9 years ago
0
Okan Aybar Makale
PCRE (PHP <7.3)
Okan Aybar makalelerini konularına göre parse eden regex
Submitted by
syil
-
9 years ago
0
TAYLOR REPLACEMENT STRING
PCRE (PHP <7.3)
TAYLOR Part Replacement
Submitted by
Case Ahr
-
9 years ago
0
Remove \r\n & \"
PCRE (PHP <7.3)
JSON object string \r\n & \" replace regex
Submitted by
Jerad Rutnam
-
9 years ago
0
remove last char from string (once)
PCRE (PHP <7.3)
remove the last char from a string. Replace 'e' with the char to remove.
Submitted by
anonymous
-
9 years ago
0
LaTeX - Nonspaced operators
PCRE (PHP <7.3)
Find nonspaced operators with capturing groups to reformat correctly.
Submitted by
Dave
-
9 years ago
0
JSON Validator
PCRE (PHP <7.3)
Complete (recursive) JSON validation regular expression.
Submitted by
@Erutan409
-
9 years ago
0
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Add xml:space to file
PCRE (PHP <7.3)
no description available
Submitted by
Yu Tang
-
9 years ago
0
camelCase
PCRE (PHP <7.3)
no description available
Submitted by
Danno
-
9 years ago
0
^[a-zA-Z_\-]+$
PCRE (PHP <7.3)
Check no space
Submitted by
anonymous
-
9 years ago
0
OSI Key
PCRE (PHP <7.3)
no description available
Submitted by
Mike LeBlanc
-
9 years ago
0
tmutil regex ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
WB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
WB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
a
PCRE (PHP <7.3)
a
Submitted by
a
-
9 years ago
0
y
PCRE (PHP <7.3)
all less jpg
Submitted by
w
-
9 years ago
0
Find an exact phrase only if it is within a certain number of chars.
PCRE (PHP <7.3)
Find an exact phrase (with each space and character in its own place) only if it is within the first 40 characters of the entire sentence. Useful to search non-standard phrases in log files.
Submitted by
RicardoSPimentel
-
9 years ago
1
...
27
28
29
30
31
...
584
Email Regex
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
email regex
Submitted by
anonymous
-
2 years ago