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
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
3 years ago
2
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
3 years ago
0
dir_linux
Python
check dir is illegal or not
Submitted by
anonymous
-
3 years ago
1
zpool status
PCRE2 (PHP >=7.3)
Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools
Submitted by
GiorgioAresu
-
3 years ago
0
Change var config file python
Python
For change var in config file on python
Submitted by
anonymous
-
3 years ago
0
Chandler Regex
PCRE2 (PHP >=7.3)
Capture of chandlers wild good morning messages
Submitted by
LoadingNinja
-
3 years ago
0
Semantic Versioning to fix broken pkg-config
PCRE2 (PHP >=7.3)
Semantic Versioning to fix broken pkg-config
Submitted by
anonymous
-
3 years ago
0
Semantic Versioning to fix broken pkg-config
PCRE2 (PHP >=7.3)
Semantic Versioning to fix broken pkg-config
Submitted by
anonymous
-
3 years ago
1
Codice fiscale italiano
PCRE (PHP <7.3)
Regex completa per il CF. Controllo anche i casi di omocodia.
Submitted by
Virtualdummy
-
3 years ago
0
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
3 years ago
0
LinkedIn regex
Python
.
Submitted by
anonymous
-
3 years ago
-1
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
3 years ago
0
po box
Python
m
Submitted by
m
-
3 years ago
1
Select Chapters and Bad Headers
PCRE2 (PHP >=7.3)
Selects and optionally replaces repetitive chapters, headers, and other sections with a dinkus. Does not select unique chapter titles. Useful for quickly cleaning literary datasets for finetuning a model or module. Originally designed for use with NovelAI.
Submitted by
lion
-
3 years ago
(Last modified 3 years ago)
0
Lab 6 es 2.3
PCRE2 (PHP >=7.3)
Carry a payload which is either ping or pong
Submitted by
anonymous
-
3 years ago
0
lab 6 es 2.2
PCRE2 (PHP >=7.3)
messages have been sent to bob
Submitted by
anonymous
-
3 years ago
0
lab 6 es 2.1
PCRE2 (PHP >=7.3)
messages directed towards alice
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 2
PCRE2 (PHP >=7.3)
strings represent messages in the form: from: "Sender", to: "Receiver", content: "Payload"
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.3
PCRE2 (PHP >=7.3)
return a double, are named sum, and accept an arbitrary amount of doubles as input
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.2
PCRE2 (PHP >=7.3)
Accept long as first input argument
Submitted by
anonymous
-
3 years ago
1
...
198
199
200
201
202
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
from:
\s
*
"
+
\s
*
[
a
-
zA
-
Z
]
*
+
\s
*
"
\s
*
,
\s
*
to:
\s
*
"
\s
*
[
a
-
zA
-
Z
]
*
\s
*
"
\s
*
,
\s
*
content:
\s
*
"
\s
*
[
a
-
zA
-
Z
]
*
\s
*
"
\s
*
/
gm
Open regex in editor
Description
strings represent messages in the form: from: "Sender", to: "Receiver", content: "Payload"
Submitted by
anonymous
-
3 years ago