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 2,560 community submitted regex patterns...
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
-
16 days ago
1
Generic Error Regex 1
PCRE2 (PHP >=7.3)
Check for errors in a verbose log.
Submitted by
bvoq
-
16 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>
-
15 days ago
(Last modified 13 days ago)
1
Reddit Links
PCRE2 (PHP >=7.3)
Check links for reddit.com and redd.it
Submitted by
adaragao
-
12 days ago
1
VCB
PCRE2 (PHP >=7.3)
aaa
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
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
-
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
-
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
-
7 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
Simple email validation
PCRE2 (PHP >=7.3)
Simple email validation based loosely on https://en.wikipedia.org/wiki/Email_address
Submitted by
JoostAB
-
2 days ago
1
Basic UNC path validation
PCRE2 (PHP >=7.3)
Simple UNC path validation. Both *nix and windows style.
Submitted by
JoostAB
-
2 days ago
1
Log - Example1
PCRE2 (PHP >=7.3)
Log - Example1
Submitted by
anonymous
-
a day ago
1
Date formatting
PCRE2 (PHP >=7.3)
Format Date from different input
Submitted by
fpreppo
-
2 hours ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 8 months ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified 8 months ago)
0
Publication date filter
PCRE2 (PHP >=7.3)
Check that the template call has the parameter 'Publication Date' filled in
Submitted by
anonymous
-
3 years ago
0
Variable Variance Formula
PCRE2 (PHP >=7.3)
Variable Variance Formula This is parsing an Alteryx variance formula to show the versatility of re-writing expressions on the fly in your programs for dynamic repeatability, i.e. field names don't matter, and you never have to re-write the same variance formula again!
Submitted by
Chris Kusek
-
3 years ago
0
identify duplicate consecutive words + word combinations to remove
PCRE2 (PHP >=7.3)
Identifies duplicate word and word combinations that exist consecutively within a string for removal. It is currently configured for up to 3 consecutive words but can be extended by adding additional (\s+\w)* to the first groups pattern match logic use with substitution val $1 good for removing d...
Submitted by
GrantO
-
3 years ago
0
isNumber
PCRE2 (PHP >=7.3)
Find that given string is number or not.
Submitted by
anonymous
-
3 years ago
1
...
28
29
30
31
32
...
128
Library of Congress Call Numbers
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
A
-
Z
]
{1,3}
[
0
-
9
]
{1,4}
\.
?
(
[
0
-
9
]
{1,2}
)?
\
?
\.
?
[
A
-
Z
]
{1}
[
0
-
9
]
{1,}
.
?
\
?
(
[
A
-
Z
]
{1,2}
[
1
-
9
]
{1,}
)?
\
?
(
[
0
-
9
]
{1,}
)?
/
gm
Open regex in editor
Description
Matches Library of Congress Call Number
Submitted by
Andy F
-
2 years ago