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...
0
musical chords
PCRE (PHP <7.3)
this will match the frequently and rarely using musical chords in a sheet music
Submitted by
anonymous
-
6 years ago
0
cleanup regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
music chords max possible
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Regex to group output of $(ip addr) interface
Python
For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part
Submitted by
anonymous
-
6 years ago
0
Validazione numero patente italiana
ECMAScript (JavaScript)
no description available
Submitted by
Dario Cancelliere
-
6 years ago
0
c functions search
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Home Tel-phone
Python
8 digits or 10 digits
Submitted by
anonymous
-
6 years ago
0
positive lookahead
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Date Validation #3
PCRE (PHP <7.3)
validates any date in (d)d-(M)M-yyyy format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Date Validation #2
PCRE (PHP <7.3)
validates any date in yyyy-M-d format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Date Validation #2
PCRE (PHP <7.3)
validates any date in M-d-yyyy format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Youtube id from a youtube url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
List Cleanup
PCRE (PHP <7.3)
cleans up a semicolon delimited list (remove white spaces, multiple semicolons, semicolons at the beginning or the end)
Submitted by
anonymous
-
6 years ago
0
E-mail
Python
Think about first letter and the later parts are some specific symbol ( .-).
Submitted by
anonymous
-
6 years ago
0
Spotify regex
PCRE (PHP <7.3)
no description available
Submitted by
duncte123
-
6 years ago
0
Ip-range
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
ASs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
OTS_BOOL_FNT_BEGIN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
auto-gen-test-format
Python
no description available
Submitted by
anonymous
-
6 years ago
0
js_htparser_extract_options
PCRE (PHP <7.3)
Extract the options from a rule in the js_htparser framework {{ request: key option1:value1 option2:value2 }} When executing the regex the matches will be: group1 = option key ( 1. iteration: option1, 2. iteration: option2 ) group2 = option value ( 1. iteration: value1, 2. iteration: value2 )
Submitted by
Alexander Bassov
-
6 years ago
1
...
518
519
520
521
522
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(
[
a
-
z0
-
9
]
{8}
-
[
a
-
z0
-
9
]
{4}
-
[
a
-
z0
-
9
]
{4}
-
[
a
-
z0
-
9
]
{4}
-
[
a
-
z0
-
9
]
{12}
)
|
(
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
)
\s
*
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago