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 11,620 community submitted regex patterns...
1
json comment - first attempt
Python
no description available
Submitted by
Mark
-
9 years ago
1
Address Match
Python
no description available
Submitted by
Awk
-
9 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
9 years ago
1
FFXIV Lodestone Character profile
PCRE (PHP <7.3)
Parses full url up to character page. Ignores http:// and anything after character ID
Submitted by
JaveLiner
-
9 years ago
1
Strip Specific HTML Tags
PCRE (PHP <7.3)
Strip specific HTML tags from a string—opposite of PHP's strip_tags(). Replace letter 'p' with your tag name. Using PHP preg_replace(), example: preg_replace('/(]>)(.?)()|(]*>)/i', '$2', $string);
Submitted by
Zachary Beschler
-
9 years ago
1
Country Code
PCRE (PHP <7.3)
no description available
Submitted by
SB
-
8 years ago
1
Regex to match any JSON value with fewer steps possible
PCRE (PHP <7.3)
If you find... any JSON value that should be matched but isn't, any JSON value that should NOT be matched but is or simply a way to match the values with fewer steps... please, let me know.
Submitted by
anonymous
-
6 years ago
-1
Finds <font> tag
PCRE (PHP <7.3)
Useful for cleaning old html code from tags
Submitted by
anonymous
-
11 years ago
0
Improved regex101 ID grabber (fixed)
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
0
Unicode alpha-numeric regex
PCRE (PHP <7.3)
Tests for all unicode language characters and number. Excludes any sentence joining characters etc.
Submitted by
Jamie
-
10 years ago
0
Get any word before specific string
Python
no description available
Submitted by
anonymous
-
9 years ago
0
CSS url()
PCRE (PHP <7.3)
Matches a valid CSS3 url() property
Submitted by
sciyoshi
-
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
-
11 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
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
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
-
10 years ago
1
Grab {\w+?} together
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
intl numbers
PCRE (PHP <7.3)
Good for valid numbers for international currencies - checks for accepted variations for thousands and decimal separators http://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html
Submitted by
Arlen Tees
-
10 years ago
1
...
547
548
549
550
551
...
581
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