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...
1
Decimal Range
PCRE (PHP <7.3)
Matches any range valid numerical range. i.e 1-5 ; 1.0-5 ; 1.0-5.0 ; 1-5.0
Submitted by
James Lewis
-
9 years ago
1
email Validation
PCRE (PHP <7.3)
The email validation for registration
Submitted by
Jian
-
9 years ago
1
Get content from CSS url() param
PCRE (PHP <7.3)
Get data or url from css > background > url option.
Submitted by
Gokhan Ege
-
9 years ago
1
IP URL
PCRE (PHP <7.3)
Get all URLS that are IP Based URLS
Submitted by
notrin
-
9 years ago
1
Markdown Header
PCRE (PHP <7.3)
no description available
Submitted by
lasta
-
9 years ago
1
nginx_luedong
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
G-Code 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
to:192.168.20.55:80
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
IP:Port
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
<xs:pattern value="[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1}"/>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
aws-elb-access-log
PCRE (PHP <7.3)
ELB log parser
Submitted by
Peker Mert Oksuz
-
9 years ago
1
Fanfiction.net Genres
PCRE (PHP <7.3)
Matches a string if it contains any of the valid FFN genres.
Submitted by
anonymous
-
9 years ago
1
CC Validation and Tests
PCRE (PHP <7.3)
no description available
Submitted by
PRPLrs
-
9 years ago
1
split by slash
PCRE (PHP <7.3)
no description available
Submitted by
Stephen
-
9 years ago
1
Regex for the brazilian CNPJ
PCRE (PHP <7.3)
A regex for the brazilian document named of CNPJ (Cadastro Nacional de Pessoa Jurídica)
Submitted by
André Ramos (github.com/andrelramos)
-
9 years ago
1
general script detection
PCRE (PHP <7.3)
This is a input regex for invaliding inputs that are likely to be scripts. this is a way to hidder xss attacks on your web application and api.
Submitted by
ivan
-
9 years ago
1
Music Notes
PCRE (PHP <7.3)
regex that identifies music notes written with A, B, ..., A#, C#, ... Ab, Bb, ... notation.
Submitted by
anonymous
-
9 years ago
1
http request
PCRE (PHP <7.3)
no description available
Submitted by
Jonathan Rubin Yaniv
-
9 years ago
1
message
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
124
125
126
127
128
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(?:
[
A
-
Z
]
\w
+
)
.
+
?
(?i)
(?:
agreement
|
amendment
|
addendum
|
contract
|
license
|
rights
(?:
and
obligations
)?
|
laws
?
|
terms
)
(?!
\.
)
.
+
?
(?:
governe
?
d
?
|
controll
?
e
?
d
?
|
interprete
?
d
?
|
construed
?
|
appl
(?:
ied
|
y
)
|
determined
?
)
.
+
?
(?:
laws
?
|
provisions
?
|
matters
)
.
*
?
\.
)
/
gm
Open regex in editor
Description
Nifty RegEx to match commonly-worded Govering Law clauses in agreements and contracts
Submitted by
anonymous
-
2 years ago