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 group and subgroup names with parameters
PCRE (PHP <7.3)
no description available
Submitted by
zeloras
-
7 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
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
1
...
163
164
165
166
167
...
902
Community Library Entry
5
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
http
[
s
]
?
:
\/\/
.
)?
(?:
www
\.
)?
[
-a
-
zA
-
Z0
-
9@%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
(?:
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&
\/\/
=
]
*
)
/
gm
Open regex in editor
Description
Match any url in text or html (http, https)
Submitted by
Jérémy Munsch
-
3 years ago