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
toby regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Match CNSTANT_CASE with underscores
ECMAScript (JavaScript)
Matches only ABC_DEF, not: ABC__DEF _ABC_DEF __ABC_DEF ABC_DEF_ ABC_DEF__...
Submitted by
David Enke <david.enke@zalari.de>
-
7 years ago
0
CSS nth child expressions
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
ip_address
PCRE (PHP <7.3)
find an ip address in a string
Submitted by
anonymous
-
7 years ago
0
Parse group and subgroup names with parameters
PCRE (PHP <7.3)
no description available
Submitted by
zeloras
-
7 years ago
0
phoneNumRegex
Python
Find phone numbers in a text string.
Submitted by
anonymous
-
7 years ago
0
Multiple line modifier
Python
Using (?m) to match only the wanted line
Submitted by
anonymous
-
7 years ago
0
Find SSN
PCRE (PHP <7.3)
This will find SSN in multiple forms in a document. Source for ED https://www.jscape.com/blog/bid/79591/exploring-regular-expressions-in-dlp
Submitted by
anonymous
-
7 years ago
0
Match decimal number (integer, floating-point, scientific)
ECMAScript (JavaScript)
Should be able to match a dot-separated decimal number (C-style) Works with: integers floating-point scientific notation
Submitted by
anonymous
-
7 years ago
0
password match
PCRE (PHP <7.3)
password 8-16 characters atleast 1 lowercase,1 upper case,1 Spl. char,1 digit
Submitted by
anonymous
-
7 years ago
0
musical chords
PCRE (PHP <7.3)
this will match the frequently and rarely using musical chords in a sheet music
Submitted by
anonymous
-
7 years ago
0
cleanup regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
music chords max possible
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 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
-
7 years ago
0
Validazione numero patente italiana
ECMAScript (JavaScript)
no description available
Submitted by
Dario Cancelliere
-
7 years ago
0
c functions search
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Home Tel-phone
Python
8 digits or 10 digits
Submitted by
anonymous
-
7 years ago
0
positive lookahead
Python
no description available
Submitted by
anonymous
-
7 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
-
7 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
-
7 years ago
1
...
518
519
520
521
522
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
(
\/
[
0
-
9
]
(
[
0
-
9
]
?
)
)?
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago