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 11,920 community submitted regex patterns...
1
Jaba
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Exact match of whole word or phrase in string
PCRE (PHP <7.3)
word in sentense - true sentense has a word - true There is a word in the sentense - true Sentense wordless - false Sentense is empty - false words are in the sentense - false...
Submitted by
Denisenko Artem
-
8 years ago
1
Parse faxmail log
PCRE (PHP <7.3)
no description available
Submitted by
Michael Blair
-
8 years ago
1
Количество
PCRE (PHP <7.3)
Найти числа, которые обозначают количество.
Submitted by
anonymous
-
8 years ago
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
8 years ago
1
Get 3 segment nz table name
PCRE (PHP <7.3)
no description available
Submitted by
vwei02
-
8 years ago
3
french phone number + match right part
PCRE (PHP <7.3)
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
-
8 years ago
2
DNS and lenght
PCRE (PHP <7.3)
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
8 years ago
1
Pubmed Dates
PCRE (PHP <7.3)
PubMEd XML contains multiple date blocks, with or without Month, day, hour, minute. USAGE: while(my($pubstatus,$year,$month,$day,$hour,$minute)= $article =~ m% (?:\s* (?:\s(\d?)\s)* (?:\s(\d?)(?:)?\s)...
Submitted by
Andy Reid
-
8 years ago
1
Parse Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Space replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
URL parser/validator
PCRE (PHP <7.3)
Validates and parses absolute URLs: Optional http:// or https:// at the start IPv4 supported, IPv6 NOT supported International characters (punycode) NOT supported Extracts scheme, username, password, IPv4 address or domain, port, path, querystring and fragment...
Submitted by
doin
-
8 years ago
1
lesson 4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
HTML hyperlinks
PCRE (PHP <7.3)
Match all Hyperlinks
Submitted by
anonymous
-
8 years ago
1
Pro Football Weekely - Green Bay Packers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Match localizable strings
PCRE (PHP <7.3)
no description available
Submitted by
LadyDascalie
-
8 years ago
1
Match localizable strings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Find specific IPs and IP Patterns
PCRE (PHP <7.3)
Having a couple of groups of IPs for which you can establish some kind of pattern
Submitted by
anonymous
-
8 years ago
1
dsadsa
PCRE (PHP <7.3)
dsadsadsa
Submitted by
dsadsadsa
-
8 years ago
1
AddTable
PCRE (PHP <7.3)
Add T001 table
Submitted by
Hugo A.
-
8 years ago
1
...
465
466
467
468
469
...
596
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