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 9,220 community submitted regex patterns...
-3
Remove special character at first position of string
PCRE (PHP <7.3)
This search for special character at first position in the string
Submitted by
anonymous
-
10 years ago
-3
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
9 years ago
-3
Regex Include & Exclude
PCRE (PHP <7.3)
Exclude part of a string in an include string.
Submitted by
anonymous
-
9 years ago
-3
Xml Parser (improved description)
PCRE (PHP <7.3)
]+)\s()\s(?:\/>|>(.)) - (with global) finds all tags in scope 1st group is tagname 2nd group is attributes 3rd group (if it exists) is value of the tag ...
Submitted by
veryanonymous
-
9 years ago
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
12 years ago
-2
Remove namespaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Date time
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
-2
Russian mobile number normilizer (dumb)
PCRE (PHP <7.3)
no description available
Submitted by
fullpipe
-
11 years ago
-2
Get text between quotes (ignore escaped ones)
PCRE (PHP <7.3)
http://stackoverflow.com/a/171499/1519058
Submitted by
Enissay
-
11 years ago
-2
Filter IP from beggin of log
PCRE (PHP <7.3)
no description available
Submitted by
W
-
11 years ago
-2
Remove empty HTML tags
PCRE (PHP <7.3)
Removes empty HTML tags. Was needed for old input clean-up and to keep a HTML parses from crashing. Looking for improvement on bottom test.
Submitted by
R. Sartorius
-
11 years ago
-2
Ukazka
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
failed attempt
PCRE (PHP <7.3)
no description available
Submitted by
DynV
-
11 years ago
-2
A masz!
PCRE (PHP <7.3)
no description available
Submitted by
Ja
-
11 years ago
-2
[A-Z]+[a-z]{1,2}[0-9]*
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Match v4 IP address
PCRE (PHP <7.3)
no description available
Submitted by
Budiony Damyanov
-
11 years ago
-2
Why doesn't it stop at the period?
PCRE (PHP <7.3)
try to match just the name from this: Copyright © 2005 Candy Arrington. Used by permission. All rights reserved.
Submitted by
anonymous
-
11 years ago
-2
Regular expression for both IPv6 and IPv4 URL
PCRE (PHP <7.3)
no description available
Submitted by
Henry Li
-
11 years ago
-2
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
IP 3 words and a number
PCRE (PHP <7.3)
Matches an Ip and any 3 words and a number after separated by any number of spacing characters.
Submitted by
Attalward
-
11 years ago
1
2
3
4
...
461