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
Parse alternative allele in VCF 4.3
PCRE (PHP <7.3)
Parse ALT field (alternative allele) in VCF 4.3
Submitted by
panagiotis moulos
-
6 years ago
0
Parse alternative allele in VCF 4.2
PCRE (PHP <7.3)
Parse ALT field (alternative allele) in VCF 4.2 format
Submitted by
panagiotis moulos
-
6 years ago
0
Commit Message - Description Pattern
Python
git-stuff commit template pattern
Submitted by
jeffryangtoni24
-
6 years ago
0
Basic Email Validation
PCRE (PHP <7.3)
Basic email validation supporting IDN emails (töm@outlook.com), quoted characters (t\ om@outlook.com). Does not validate emails using quoted characters that are not escaped, so this exception should be handled by your mail service.
Submitted by
TJ Walker
-
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
0
Multi group regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
1
Detect JSON entries
PCRE (PHP <7.3)
This Regexp here has probably been done a ton of times, but I kind of figured one out here, so I decided to post it anyways. It may or may not be a duplicate, but this also will ignore any strings that a JSON entry may have so that it knows not to detect something if a value contains text like "som...
Submitted by
Ghostyrun
-
6 years ago
0
CIRRIS Occurrence Number
ECMAScript (JavaScript)
CIRRIS Occurrence Number Validator RegEx
Submitted by
Anthony
-
6 years ago
1
Extract columns names from any select query
Golang
This regex can capture any column name from a select query. Be the original name, like are named on table, renamed with a reserved word AS or even without explicit AS. Go on, and test with your query ;)
Submitted by
Jefferson Gouveia
-
7 years ago
0
nondigits - digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
parsing ini files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 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
-
7 years ago
0
SpecialsChars ending
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 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
-
7 years ago
0
regex_1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PR364777
PCRE (PHP <7.3)
generic regex for all.
Submitted by
anonymous
-
7 years ago
0
removes leading zeros in a string separated by space
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
flunetd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 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
-
7 years ago
1
...
517
518
519
520
521
...
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