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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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,820 community submitted regex patterns...
-2
Get begining of url (subdomain)
PCRE (PHP <7.3)
In between 2 delimiters
Submitted by
anonymous
-
9 years ago
-2
match unescaped quotes
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Get the HTML table tag and all content from within
PCRE (PHP <7.3)
no description available
Submitted by
Pedro Marcelo de Sá Alves
-
9 years ago
-2
Answer to 10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
-3
DateTime YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
no description available
Submitted by
Madhan
-
10 years ago
-3
hjghj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
cake
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
mama
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Match email addresses and get the mail provider as a group
PCRE (PHP <7.3)
no description available
Submitted by
Ole
-
9 years ago
-3
Telephone
PCRE (PHP <7.3)
Find Telephone
Submitted by
Mr.Fail
-
9 years ago
-3
ipv4 - short version
PCRE (PHP <7.3)
no description available
Submitted by
gromozeka
-
9 years ago
-3
UpperCase words
PCRE (PHP <7.3)
no description available
Submitted by
ivo
-
9 years ago
-3
a
PCRE (PHP <7.3)
a
Submitted by
a
-
9 years ago
-3
Facebook url regex
PCRE (PHP <7.3)
no description available
Submitted by
Devs Devaras
-
9 years ago
-3
Replace abba with ABBA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-3
get table name from mapfile
PCRE (PHP <7.3)
gets a postgis tablename from a mapfile with the given layer name, may not work depending on your mapfile layout
Submitted by
warnock
-
9 years ago
-3
Clean empty tags from HTML tags incl. tags containing space(s)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
IPv4 address
Python
Matches any IPv4 address
Submitted by
anonymous
-
8 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
-
8 years ago
1
...
239
240
241
242
243
...
591
a
-3
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9.
]
+
)
(?:
\n
)?
/
gm
Open regex in editor
Description
a
Submitted by
a
-
9 years ago