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,020 community submitted regex patterns...
0
Multiple line modifier
Python
Using (?m) to match only the wanted line
Submitted by
anonymous
-
6 years ago
0
phoneNumRegex
Python
Find phone numbers in a text string.
Submitted by
anonymous
-
6 years ago
0
Parse group and subgroup names with parameters
PCRE (PHP <7.3)
no description available
Submitted by
zeloras
-
6 years ago
0
ip_address
PCRE (PHP <7.3)
find an ip address in a string
Submitted by
anonymous
-
6 years ago
0
CSS nth child expressions
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 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>
-
6 years ago
0
Include Anything but (string)
ECMAScript (JavaScript)
This RegEx uses a lookahead to say that anything BUT (string) will be valid
Submitted by
anonymous
-
6 years ago
0
flunetd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
removes leading zeros in a string separated by space
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
PR364777
PCRE (PHP <7.3)
generic regex for all.
Submitted by
anonymous
-
6 years ago
0
regex_1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
HK Mobile Regex
PCRE (PHP <7.3)
For number with 8 digits: Only allow number start with 4-9. http://www.cirrhosismedication.com http://happinesspig.com http://premiumpig.com http://pmsecret.com...
Submitted by
anonymous
-
6 years ago
0
SpecialsChars ending
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Uptime command splitting to monitor average load
ECMAScript (JavaScript)
This is default regular expression used at Trafikito.com to split the output of a command into columns. Trafikito monitors Linux CPU, RAM and disk space or the output of any command. Then sends emails or makes API calls in the event that something goes wrong. Monitor your Linux machine for free a...
Submitted by
Trafikito.com
-
6 years ago
0
parsing ini files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
nondigits - digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
CIRRIS Occurrence Number
ECMAScript (JavaScript)
CIRRIS Occurrence Number Validator RegEx
Submitted by
Anthony
-
6 years ago
0
Extract all emails from a document.
ECMAScript (JavaScript)
The following regex will extract email addresses from a document. Sample: This is the email: m23oeo_doc@gmail.com and this is john.doe@outlook.com also can use "," master1@yahoo.com, master2@yahoo.es etc. micro.so@aol.com.
Submitted by
anonymous
-
6 years ago
0
Multi group regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Commit Message - Header Pattern (Optimized)
PCRE (PHP <7.3)
git-stuff commit message header pattern.
Submitted by
jeffryangtoni24
-
6 years ago
1
...
483
484
485
486
487
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
A
-
G
]
{1}
(
[
5
]
)?
(
[
#b
]
{1}
)?
(
mM
|
Mm
|
m
|
M
|
aug
|
dim
|
add
)?
(
[
679
]
|
11
)?
(
(
sus
)
(
[
24
]
)
)?
/
gm
Open regex in editor
Description
this will match the frequently and rarely using musical chords in a sheet music
Submitted by
anonymous
-
6 years ago