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
Parse JSON key value
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
hostname
PCRE (PHP <7.3)
RFC 1123 compatible RegEx for a hostname (not a domain name), inspired by chapter 7.15 from Regular Expressions Cookbook.
Submitted by
anonymous
-
10 years ago
1
HTML Anchor <a> Tag Grabber(overcome newlines)
ECMAScript (JavaScript)
no description available
Submitted by
Namikaze Ray a.k.a Pendecosen
-
10 years ago
1
Any telephone number with at least 6 digits
PCRE (PHP <7.3)
Telephone number can come with extra characters to denote country, region, etc
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
10 years ago
1
URL domain test
ECMAScript (JavaScript)
tests to find if ("google.com") is the domain part of the URL
Submitted by
anonymous
-
10 years ago
1
Mac-address filtering
PCRE (PHP <7.3)
Trying to capture a mac-address structure
Submitted by
R. van den Hoek
-
10 years ago
1
First 3 words in sentence
PCRE (PHP <7.3)
no description available
Submitted by
hjgabrielsen
-
9 years ago
1
email regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Matches when the string does not contain an exact word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
french phone number (locale format)
PCRE (PHP <7.3)
little matcher for french phone number in locale format (example: 0231348228)
Submitted by
Nolwennig
-
10 years ago
0
Fully Qualified Domain Name FQDN
PCRE (PHP <7.3)
Fully qualified domain name validation
Submitted by
ximbs
-
9 years ago
1
Table Purgatory
PCRE (PHP <7.3)
A regex to find all nowrap text occurrences and name all the groups involved in preparation for a replacement pass
Submitted by
Joe Hacobian
-
12 years ago
1
Get inside single/double quotes
PCRE (PHP <7.3)
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
11 years ago
1
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
11 years ago
1
Comments in XML document
PCRE (PHP <7.3)
Match comments in a XML document.
Submitted by
Jared Rummler
-
11 years ago
1
a^n b^n
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
1
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
11 years ago
1
Match emails, as per RFC 5322
PCRE (PHP <7.3)
Match any email, according to the grammer in RFC 5322, found at http://tools.ietf.org/html/rfc5322
Submitted by
Nikita Popov
-
11 years ago
1
Grab {\w+?} together
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
46
47
48
49
50
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
[
\w
]
+
@
[
\w
]
{2,}
+
\.
[
\w
]
{2,}
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago