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...
1
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
PCRE (PHP <7.3)
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
Submitted by
Natalia zolotareva
-
3 years ago
1
NEW YAHOO
PCRE (PHP <7.3)
This pattern will match everything directly below your yahoo REPLACE section and non of the good cases above: ^yahoo\.com?(?:(?!\.[a-z]{2}).)*(?:.com?)?$ IE you do not want to include yahoo.fr or yahoo.com.fr or yahoo.co.uk
Submitted by
anonymous
-
7 years ago
1
Matches all subdomains excluding www
ECMAScript (JavaScript)
Matches all subdomains (specifically in group 2) excluding www
Submitted by
AurielleP
-
7 years ago
1
Replace text between double curly braces
ECMAScript (JavaScript)
no description available
Submitted by
TonyM (g33ktony)
-
7 years ago
1
Require string of length Ignoring HTML
PCRE (PHP <7.3)
checks for a continuous string of characters (in this case 7) , but ignores HTML tags we use it in a required feild validator that has auto generated formatting elements
Submitted by
Doom87er
-
7 years ago
1
color-price-count
PCRE (PHP <7.3)
no description available
Submitted by
By me
-
7 years ago
1
Match text inside of single/double quotes, mysql identifier tokens(`)(ignore escaped nested quotes)
PCRE (PHP <7.3)
Verbose, somewhat cryptic and very efficient pattern to match all text inside of quotes and MySQL identifier tokens.
Submitted by
Phillip Weber
-
7 years ago
1
Telephone numbers from Ireland
PCRE (PHP <7.3)
Validate phone numbers from Ireland
Submitted by
anonymous
-
7 years ago
1
Telephone numbers from Colombia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Telephone numbers from Spain
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
teysy
PCRE (PHP <7.3)
kljljljjlkjl
Submitted by
nww
-
7 years ago
1
find widget.method name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
1
No Tag in URL RegEx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Microsoft Forward Header Matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Quotes
PCRE (PHP <7.3)
Matches everything between '' or "", but not between quotation marks of different types. (?:\")(.?)(?:\")|(?:')(.?)(?:')
Submitted by
maffei2443
-
7 years ago
1
CBC-FixFlex-CisloZmluvy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
TeamAlert domenenavn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
TeamAlert domenenavn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
extractor_RD_RT_Cisco
Python
no description available
Submitted by
anonymous
-
7 years ago
1
FireEye Sandbox IPs
PCRE (PHP <7.3)
FireEye Sandbox IPs
Submitted by
Robert Nixon
-
7 years ago
1
...
762
763
764
765
766
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
\(
(
.
+
)
\)
(
\d
+
)
|
\[
(
.
+
)
\]
(
\d
+
)
|
\{
(
.
+
)
\}
(
\d
+
)
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago