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 2,600 community submitted regex patterns...
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
-
2 months ago
(Last modified 2 months ago)
1
fisrst regex
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 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
-
2 months ago
1
Definitely going to hell for this one.
PCRE2 (PHP >=7.3)
Yup...
Submitted by
BitesizedLion
-
2 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
-
2 months ago
(Last modified 2 months ago)
1
Date formatting
PCRE2 (PHP >=7.3)
Format Date from different input
Submitted by
fpreppo
-
2 months ago
1
Log - Example1
PCRE2 (PHP >=7.3)
Log - Example1
Submitted by
anonymous
-
2 months ago
1
Basic UNC path validation
PCRE2 (PHP >=7.3)
Simple UNC path validation. Both *nix and windows style.
Submitted by
JoostAB
-
2 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
-
2 months ago
1
exclude .jpg .png .js .css path
PCRE2 (PHP >=7.3)
exclude .jpg .png .js .css path
Submitted by
zm
-
2 months 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
-
2 months 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
-
2 months 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
-
2 months ago
1
VCB
PCRE2 (PHP >=7.3)
aaa
Submitted by
anonymous
-
2 months ago
1
Reddit Links
PCRE2 (PHP >=7.3)
Check links for reddit.com and redd.it
Submitted by
adaragao
-
2 months ago
1
Generic Error Regex 1
PCRE2 (PHP >=7.3)
Check for errors in a verbose log.
Submitted by
bvoq
-
2 months 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
-
2 months ago
1
Bitcoin Address Validator
PCRE2 (PHP >=7.3)
A regex to validate Bitcoin addresses.
Submitted by
Rimblehelm
-
3 months ago
1
Polynomial extractor with real coefficient
PCRE2 (PHP >=7.3)
It matches any polynomial with integer or real coefficient
Submitted by
eFrim
-
3 months ago
(Last modified 3 months ago)
1
groupping by :#
PCRE2 (PHP >=7.3)
sed 's/\(:#\)./ -CLEARED-/g'
Submitted by
anonymous
-
3 months ago
1
2
3
4
5
6
...
130
T-SQL find text blocks in script
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<text>
N
?
'
(
(?:
''
|
[^
'
]
)*
)
'
|
N
?
"
(
(?:
""
|
[^
"
]
)*
)
"
)
/
gms
Open regex in editor
Description
Finds the text blocks in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
2 months ago