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,000 community submitted regex patterns...
-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
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
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
matching words between tags
ECMAScript (JavaScript)
matching words between square brachets tags include newline or carriage return
Submitted by
anonymous
-
9 years ago
-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
-
9 years ago
-3
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
9 years ago
-3
TD data from html table
Python
no description available
Submitted by
Deepak Bansal
-
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
-
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
-
8 years ago
-3
Working With Data regex sample text
PCRE2 (PHP >=7.3)
This is a sample text for use at my "Working With Data" workshop session on regular expressions.
Submitted by
anonymous
-
3 years ago
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
11 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
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
11 years ago
1
2
3
4
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9|A
-
Z
]
{8}
-
[
0
-
9|A
-
Z
]
{4}
-
[
0
-
9|A
-
Z
]
{4}
-
[
0
-
9|A
-
Z
]
{4}
-
[
0
-
9|A
-
Z
]
{12}
/
g
Open regex in editor
Description
Submitted by
Steven Harris
-
8 years ago