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
Community Patterns
Search among 8,000 community submitted regex patterns...
1
CRON time expression validation
PCRE2 (PHP >=7.3)
Credit to Juarez and Slava who collectively derived the expression below here: https://stackoverflow.com/questions/14203122/create-a-regular-expression-for-cron-statement/63729682#63729682 For more in depth explanation see: https://gist.github.com/Aterfax/401875eb3d45c9c114bbef69364dd045
Submitted by
Aterfax
-
9 hours ago
(Last modified 9 hours ago)
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
a day ago
1
Date formatting
PCRE2 (PHP >=7.3)
Format Date from different input
Submitted by
fpreppo
-
a day ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
2 days ago
1
Log - Example1
PCRE2 (PHP >=7.3)
Log - Example1
Submitted by
anonymous
-
2 days ago
1
Basic UNC path validation
PCRE2 (PHP >=7.3)
Simple UNC path validation. Both *nix and windows style.
Submitted by
JoostAB
-
4 days ago
1
Simple email validation
PCRE2 (PHP >=7.3)
Simple email validation based loosely on https://en.wikipedia.org/wiki/Email_address
Submitted by
JoostAB
-
4 days ago
1
CRAC Question Bank
ECMAScript (JavaScript)
中国无线电协会业余无线电分会业余无线电操作证书 txt 题库格式化
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
6 days ago
(Last modified 6 days ago)
1
Email Format Check
ECMAScript (JavaScript)
This regex can check if the email format is valid. Feels free to use it
Submitted by
AkashiDom
-
7 days ago
1
exclude .jpg .png .js .css path
PCRE2 (PHP >=7.3)
exclude .jpg .png .js .css path
Submitted by
zm
-
7 days ago
1
PGP-encrypted message (v2)
ECMAScript (JavaScript)
A javascript regex for a pgp-encrypted message, including optional armor, headers, and checksum. Feel free to make improvements if you think I'm missing something from the spec: https://www.rfc-editor.org/rfc/rfc4880#section-6.2
Submitted by
anonymous
-
8 days ago
1
PGP-encrypted message
ECMAScript (JavaScript)
A Javascript regex for a PGP-encrypted message, including optional armor, valid headers, and checksum.
Submitted by
Adroit
-
8 days ago
1
Start with a letter and contains words, number spaces
PCRE2 (PHP >=7.3)
Use this to validate name with french characters. Start with a letter and contains words, number spaces
Submitted by
anonymous
-
9 days ago
1
Adress without special chars, only space - and coma
PCRE2 (PHP >=7.3)
This regex is used to valiidate addresses. Contains alpha num chars. No special chars except space, coma and -
Submitted by
anonymous
-
9 days ago
1
2430workshop10
ECMAScript (JavaScript)
2430workshop10
Submitted by
anonymous
-
9 days ago
1
Parse @ACTIONTAG from text containing params as JSON
PCRE2 (PHP >=7.3)
A parser for actiontags (in the format of @FOO=BAR or @FOO={"param":"bar"}. Returns the match array with the key equal to the tag and an array containing keys of 'params, params_json and params_text' Based on: https://regex101.com/r/fL2rM8/5
Submitted by
anonymous
-
10 days ago
1
VCB
PCRE2 (PHP >=7.3)
aaa
Submitted by
anonymous
-
10 days ago
1
Reddit Links
PCRE2 (PHP >=7.3)
Check links for reddit.com and redd.it
Submitted by
adaragao
-
13 days ago
1
Voice of the World
Python
Voice of the World Matches lines spoken by the Voice of the World in the web novel Super Gene.
Submitted by
maxludden
-
14 days ago
1
Generic Error Regex 1
PCRE2 (PHP >=7.3)
Check for errors in a verbose log.
Submitted by
bvoq
-
17 days ago
1
2
3
...
400
Git Commit Message Validation
0
Regular Expression
Python
r"
^
(?:
(?P<type>
(?:
feat
)
|
(?:
fix
)
|
(?:
docs
)
|
(?:
style
)
|
(?:
refactor
)
|
(?:
test
)
|
(?:
merge
)
|
(?:
chore
)
)
(?:
\(
(?P<issue>
.
+
)
\)
)?
:
(?P<subject>
[
A
-
Z0
-
9
]
.
{0,48}
(?!
\.
)
.
?
)
\n
?
)
(?:
\n
(?P<body>
(?:
.
*
\n
?
)+
)
)*
$
"
gm
Open regex in editor
Description
Validate a modified Version of
https://udacity.github.io/git-styleguide/
Submitted by
anonymous
-
a year ago