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,020 community submitted regex patterns...
0
Extract max-width / min-width from CSS media query
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
altos
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Phone Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
beforeAugustC4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
ignore log spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Between two Strings
Python
no description available
Submitted by
anonymous
-
7 years ago
0
parm Method (with xml documentation)
PCRE (PHP <7.3)
parm method for X++, given variable declarations, any number of them. including xml documentation
Submitted by
Dannies K.
-
7 years ago
0
constructor (with xml documentation)
PCRE (PHP <7.3)
constructor for X++ class, given the class declaration with xml documentation
Submitted by
Dannies K
-
7 years ago
0
Valid Address regex
PCRE (PHP <7.3)
This is to validate if an address is valid or not
Submitted by
anonymous
-
7 years ago
0
Javascript replace export function to export =>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
5-part regex for find/replace with @@.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PHP_Exercise_2
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
PHP_Exercise_1
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
PHP_Exercise_2
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
TravelOnline - Extract TripId from file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Remove all <php tags from html file
PCRE (PHP <7.3)
This regex is helpful to remove all tags
Submitted by
anonymous
-
7 years ago
0
smoothie oops
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
MK1 artist-album reducer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
matchEmailAddress
PCRE (PHP <7.3)
Match an email address
Submitted by
SwiJ
-
7 years ago
0
iOS/macOS Indic character crash exploit detection 2018-02-12
PCRE (PHP <7.3)
This PHP regex will match any string that contains Indic character combinations known to crash many iOS applications as of 11.2.5 and certain macOS combinations as of 10.13.3. The crash occurs in CoreText. Notes This regex will only work if you use the x and u modifiers. Example: "/regex-goes-he...
Submitted by
Paul Buonopane @ NamePros
-
7 years ago
1
...
467
468
469
470
471
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?<!
\\
)
{
(
(?:
(?:
red
|
blue
|
black
)
\.
?
)+
)
(?<!
\.
)
\s
(
(?:
(?:
[^
{
]
(?!
{
|
}
)|
\\
{
|
\\
}
)+
.
)?
)
)
|
(
(?<!
\\
)
}
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago