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,000 community submitted regex patterns...
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
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 - Description Pattern
Python
git-stuff commit template pattern
Submitted by
jeffryangtoni24
-
6 years ago
0
Check if contains No Chinese
PCRE (PHP <7.3)
Check if string contains No Chinese characters: http://www.cirrhosismedication.com http://www.pmsecret.com http://premiumpig.com http://happinesspig.com...
Submitted by
anonymous
-
6 years ago
0
remove video sizes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
BAD: Last-Name-Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Python Package Metadata Extraction
Python
Regex string that can pull package metadata from python file when its stored in this method: mymeta = 'some meta string'
Submitted by
anonymous
-
6 years ago
0
larry - first try removing all closing tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
larry - second send, fixes problem
PCRE (PHP <7.3)
ignores the closing tags and only fixes the opening tags
Submitted by
anonymous
-
6 years ago
0
Matches all words + hyphenated-words, words with full-stops, ignoring commas.
PCRE (PHP <7.3)
This will match all words. Including: Hyphenated words. Words ending in periods/full-stops. Number sequences....
Submitted by
anonymous
-
6 years ago
1
...
108
109
110
111
112
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
<a
(
.
*
)
href="
(
[^
"
]
*
)
"
(
.
*
)
>
(
.
*
)
<
\/
a>
/
gm
Open regex in editor
Description
it took me quite some time to figure out. I hope it'll be helful to someone else.
Submitted by
anonymous
-
2 years ago