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 12,640 community submitted regex patterns...
1
"Attached file" Virus
PCRE (PHP <7.3)
MailCleaner attachment name expression.
Submitted by
Robin Toy - Strobe Technologies Ltd
-
9 years ago
0
Quote JSON keys
ECMAScript (JavaScript)
Regex to quote keys to parse a string of relaxed JSON. Rules: No ':', '"' or newline in keys allowed
Submitted by
Lars Willighagen
-
9 years ago
0
Strings with length multiple of 3 or 5
PCRE (PHP <7.3)
Lines with length multiple of 3 or 5.
Submitted by
ismtabo
-
9 years ago
1
Test No Match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ISO8601 Date Interval
PCRE (PHP <7.3)
ISO8601 Date Interval with support for fractional values and repeating intervals. DOES NOT SUPPORT fixed intervals (e.g. 2016-03-22P3D or 2016-03-22T14:00Z--2016-03-2518:00+02:00). See https://regex101.com/r/iN2zO9/1 for a ISO8601 date time regex.
Submitted by
Tobias Marstaller
-
9 years ago
1
ISO8601 DateTime
PCRE (PHP <7.3)
Matches an ISO8601 date time string, including fractional time. Does not exclude non-existent times (such as the 29th february in non-leap-years)
Submitted by
Tobias Marstaller
-
9 years ago
3
Escherichia coli, partial genome simple coding region search
PCRE (PHP <7.3)
NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome
Submitted by
anonymous
-
9 years ago
1
allow only alpabets digits and special characters
ECMAScript (JavaScript)
allow only alpabets digits and special characters
Submitted by
anonymous
-
9 years ago
1
select you exclude bayou
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Proxy matcher
PCRE (PHP <7.3)
Matches proxies in ip:port format. Takes into account that octets cant start with a 0, and that octets that are not the first octet can be a 0 if there are no more numbers behind it.
Submitted by
Dank meme machine
-
9 years ago
1
Doubleclick tile1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match but don't capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
sp push
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
@property
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
http://e3lanatkom.local/index.php?do=shownews
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
JSON (In progress)
ECMAScript (JavaScript)
Regex to qoute a JSON-string
Submitted by
Lars Willighagen
-
9 years ago
1
dynamic galery in detail-text
PCRE (PHP <7.3)
no description available
Submitted by
romqtw
-
9 years ago
0
Del space
PCRE (PHP <7.3)
Delete speces at XML
Submitted by
E_Ch
-
9 years ago
0
number
ECMAScript (JavaScript)
This is for the validation of number
Submitted by
Noby nirmal
-
9 years ago
1
id validation
ECMAScript (JavaScript)
This will catch the id which is an integer and not characters mixed with numbers
Submitted by
noby nirmal
-
9 years ago
1
...
466
467
468
469
470
...
632
Community Library Entry
52
Regular Expression
PCRE (PHP <7.3)
/
^
(?'Username'
[
-
\w\d
\.
]
+
?
)
(?:
\s
+
at
\s
+
|
\s
*
@
\s
*
|
\s
*
(?:
[
\[\]
@
]
){3}
\s
*
)
(?'Domain'
[
-
\w\d
\.
]
*
?
)
\s
*
(?:
dot
|
\.
|
(?:
[
\[\]
dot
\.
]
){3,5}
)
\s
*
(?'TLD'
\w
+
)
$
/
gm
Open regex in editor
Description
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick
-
12 years ago