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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 12,620 community submitted regex patterns...
0
num pattern
ECMAScript (JavaScript)
a
Submitted by
Ibraheem
-
2 years ago
0
a
ECMAScript (JavaScript)
不得輸入0、空值、符號、負數(僅限溫度)、小數點(僅支援後2位)
Submitted by
anonymous
-
2 years ago
0
IBAN SEPA
ECMAScript (JavaScript)
This regex check for valid IBANS with SEPA only. Country definition https://www.iban.de/iban-laenderliste.html
Submitted by
Florian Bischof
-
2 years ago
0
mydata-collector
ECMAScript (JavaScript)
it is for regex
Submitted by
anonymous
-
2 years ago
0
Intervelead 2 of 5 custas
PCRE (PHP <7.3)
Intervelead 2 of 5 custas
Submitted by
anonymous
-
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
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
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
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
price with two decimals
ECMAScript (JavaScript)
test
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
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
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
B1 - Invert First_name and Last_name in a citation author list
ECMAScript (JavaScript)
Convert a citation author list from Pierre Racine and Luc Lauzon and Daniel Lesieur to ...
Submitted by
anonymous
-
2 years ago
0
删除Markdown中的标签连接
PCRE (PHP <7.3)
https://regex101.com/r/kndTMF/1
Submitted by
anonymous
-
2 years ago
0
Extract ALL images URLs from web page (unless domain is omitted because is local)
ECMAScript (JavaScript)
Extract ALL images URLs from web page (unless domain is omitted because is local)
Submitted by
anonymous
-
2 years ago
0
Extract all images URLs that are local (domain omitted) from a web page
ECMAScript (JavaScript)
Extract all images URLs that are local (domain omitted) from a web page
Submitted by
anonymous
-
2 years ago
0
multicast
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
2 years ago
0
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
2 years ago
-2
Match whitespace and colon, except in specific words
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-
2 years ago
1
...
613
614
615
616
617
...
631
Date validation
7
Regular Expression
ECMAScript (JavaScript)
/
^\d
{4}
-
(
(
(
0
[
13578
]
|
1
[
02
]
)
-
(
0
[
1
-
9
]
|
[
12
]
\d
|
3
[
0
-
1
]
)
)
|
(
02-
(
0
[
1
-
9
]
|
[
12
]
\d
)
)
|
(
(
0
[
469
]
|
11
)
-
(
0
[
1
-
9
]
|
[
12
]
\d
|
30
)
)
)
$
/
gm
Open regex in editor
Description
Besides leap year handling, this takes care of date validation in the yy-mm-dd format.
Submitted by
anonymous
-
9 years ago