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,040 community submitted regex patterns...
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 months 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
-
9 months 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
-
9 months ago
1
exclude .jpg .png .js .css path
PCRE2 (PHP >=7.3)
exclude .jpg .png .js .css path
Submitted by
zm
-
9 months 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
-
9 months ago
1
CRAC Question Bank
ECMAScript (JavaScript)
中国无 线电协会业余无线电分会业余无线电操作证书 txt 题库格式化
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
9 months ago
(Last modified 9 months 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
-
9 months ago
1
Basic UNC path validation
PCRE2 (PHP >=7.3)
Simple UNC path validation. Both *nix and windows style.
Submitted by
JoostAB
-
9 months ago
1
Log - Example1
PCRE2 (PHP >=7.3)
Log - Example1
Submitted by
anonymous
-
9 months ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
9 months ago
1
Date formatting
PCRE2 (PHP >=7.3)
Format Date from different input
Submitted by
fpreppo
-
9 months ago
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
9 months ago
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 months ago
(Last modified 9 months ago)
1
Definitely going to hell for this one.
PCRE2 (PHP >=7.3)
Yup...
Submitted by
BitesizedLion
-
9 months ago
1
Post-1987 Irish Vehicle Registration Plates
PCRE2 (PHP >=7.3)
Validates Irish Vehicle Registration Plates to S.I. No. 318/1992 - Vehicle Registration and Taxation Regulations, 1992 (as amended). Also validates modern 3 digit year identifier (introduced in 2013).
Submitted by
James Pelow
-
9 months ago
1
fisrst regex
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
9 months ago
1
PrivtBank Receipt Parser vx520
.NET 7.0 (C#)
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
PrivtBank Receipt Parser
.NET 7.0 (C#)
PrivtBank Receipt Parser
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
ISO 8601 Duration Regex
PCRE2 (PHP >=7.3)
Duration regular expression as per https://en.wikipedia.org/wiki/ISO_8601 PnYnMnDTnHnMnS or PnW Examples: P1Y1M1DT1H1M1S P1M - 1 month...
Submitted by
Sharath Malladi
-
9 months ago
(Last modified 9 months ago)
1
Get decimal point amount from amount string with currency symbol
PCRE2 (PHP >=7.3)
Get decimal point amount from amount string with currency symbol
Submitted by
anonymous
-
9 months ago
1
...
347
348
349
350
351
...
902
Community Library Entry
0
Regular Expression
Python
r"
\d
{1,}
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
)
=
(
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
(
\+
|
\-
|
\*
|
\/
)
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
|
\-
?
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z0
-
9
]
{0,15}
|
[
0
-
9
]
{1,}
)
)
$
"
gm
Open regex in editor
Description
ONE reg expression to use
Submitted by
anonymous
-
5 years ago