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 5,940 community submitted regex patterns...
1
CSI Breakdown V5
ECMAScript (JavaScript)
Breaks out CSI numbers for proper reformat
Submitted by
anonymous
-
18 hours ago
1
Date formatting
PCRE2 (PHP >=7.3)
Format Date from different input
Submitted by
fpreppo
-
18 hours 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
-
3 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
-
3 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
-
6 days ago
1
exclude .jpg .png .js .css path
PCRE2 (PHP >=7.3)
exclude .jpg .png .js .css path
Submitted by
zm
-
6 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
-
7 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
-
7 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
-
8 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
-
8 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
-
9 days ago
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
9 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
AWS EventBridge Scheduling Expressions
Java 8
This validates AWS EventBridge scheduling expressions using the rate() and cron() formats. It may not catch all invalid expressions, but it should properly validate all valid expressions, as demonstrated in the unit tests. Please let me know if I missed any valid expressions. Originally attempted ...
Submitted by
Evan S Kaufman <evan@evanskaufman.com>
-
16 days ago
(Last modified 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
Codice Fiscale italiano
PCRE2 (PHP >=7.3)
[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST]{1}([1-9]|12|3[01]|4[1-9]|56|7[01]|LMNPQRSTUV){2}[A-Z]{1}[0-9LMNPQRSTUV]{3}[A-Z]{1} La regular expression riconosce i codici fiscali. Supporta omocodie ed effettua controllo ristretto sul giorno di nascita
Submitted by
Zeta-am
-
17 days ago
1
2
3
...
297
HTML tags and comments split
0
Regular Expression
ECMAScript (JavaScript)
/
(
<
(?!
\/
)
[
a
-
zA
-
Z
\-
0
-
9
]
+
?
(?:
[
\s
]
*
?
[
a
-
zA
-
Z
\-
0
-
9
]
+
?
(?:
=
(?:
"
[
\s\S
]
*
?
"
|
'
[
\s\S
]
*
?
'
)
){0,1}
)*
?
[
\s
]
*
?
\/
{0,1}
>
)
|
(
<
\/
[
\S\s
]
+
?
>
)
|
(
<!--
[
\s\S
]
*
?
-->
)
/
gmi
Open regex in editor
Description
This regex is used to split HTML tags and comments.
Submitted by
Danilo Celestino de Castro
-
7 years ago