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
Match a line that doesn't contain a word
ECMAScript (JavaScript)
Match a line that doesn't contain a word
Submitted by
xiaoyang
-
2 years ago
0
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
0
Node node_modules library exceptions
PCRE2 (PHP >=7.3)
Tests for excluding certain node_modules when
Submitted by
anonymous
-
2 years ago
0
Phone (rus)
PCRE2 (PHP >=7.3)
Russian phone number
Submitted by
anonymous
-
2 years ago
0
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
2 years ago
0
TESTO denro tag
PCRE2 (PHP >=7.3)
r
Submitted by
anonymous
-
2 years ago
0
Unique graphql pagination update
PCRE2 (PHP >=7.3)
Unique graphql pagination update
Submitted by
Amos
-
2 years ago
0
price with two decimals
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
스마트스토어 필터링
PCRE2 (PHP >=7.3)
ㅌㅌ
Submitted by
anonymous
-
2 years ago
0
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
2 years ago
0
Regex Dates on Data X
PCRE2 (PHP >=7.3)
Regex Dates on Data X 1700-01-01 to 4000-12-31
Submitted by
Miguel Ramos
-
2 years ago
1
S/O 73225392
PCRE2 (PHP >=7.3)
Replaces one style of markdown image with another
Submitted by
anonymous
-
2 years ago
0
Indian mobile number regex (substring)
PCRE2 (PHP >=7.3)
Match indian mobile number inside a string. Valid inputs 9207323601 8343434349 6790312345...
Submitted by
birla
-
2 years ago
0
Indian number plate lenient validator (for transformation) (vehicle registration number)
PCRE2 (PHP >=7.3)
lenient validator (for transformation) /\b([A-Z]{2})?([0-9]{1,2})?([A-Z]{0,3})*?([0-9]{4})\b/i Matches 4 groups like: 1) RJ 2) 02 3) FG...
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)
0
Finding and commenting uncommented console.log
ECMAScript (JavaScript)
Works in vsc for me and saves a lot of work!
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Add missing point in author list initials
ECMAScript (JavaScript)
Add some point missing to initials in a citation author list
Submitted by
Pierre Racine
-
2 years ago
0
Author first names to initials
ECMAScript (JavaScript)
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago
2
ULID
ECMAScript (JavaScript)
Match a ULID.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
UUID (compact regular expression)
ECMAScript (JavaScript)
Matches a UUID using a compact regular expression.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
cdn匹配图片
PCRE2 (PHP >=7.3)
保留
Submitted by
anonymous
-
2 years ago
1
...
123
124
125
126
127
...
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