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...
4
Mask an email regex
PCRE (PHP <7.3)
Replaces second to last but one characters in email with asterisks (@ and last . are protected): john.travolta@gmail.com > j*a@g**.m
Submitted by
Wiktor Stribiżew
-
9 years ago
1
Match Chords
PCRE (PHP <7.3)
Match chords from songsheets
Submitted by
code26
-
9 years ago
1
SelectCommand
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Austrian VAT registration number
PCRE (PHP <7.3)
The letters "ATU" followed by 8 digits.
Submitted by
anonymous
-
9 years ago
0
German VAT registration number
PCRE (PHP <7.3)
The letters "DE" followed by 9 digits.
Submitted by
anonymous
-
9 years ago
7
Date and time format - ISO 8601
ECMAScript (JavaScript)
Matches ISO 8601 date formats
Submitted by
Ettienne
-
9 years ago
1
word matcher
ECMAScript (JavaScript)
no description available
Submitted by
Cengizism
-
9 years ago
1
sophos
Python
my first one
Submitted by
bwl
-
9 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Match String
PCRE (PHP <7.3)
Matches strings, and hopefully works with escaped close-quotes
Submitted by
Tom Hartley
-
9 years ago
1
Extract variable data from multi-line text columns
PCRE (PHP <7.3)
Pulls data from the 3rd line of different columns of text.
Submitted by
Jan from StackOverflow, and John Kimball
-
9 years ago
1
matt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
SVG Height
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
dXNpbmcgU3lzdGV.GtLklPOw0KdXNpbmcgU3lzdGVtOw0KDQpjbGFzcyBQcm9
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
gasmeter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
digit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Remove Dangerous HTML Tags
PCRE (PHP <7.3)
no description available
Submitted by
SG
-
9 years ago
1
Six Letters at the start, and one char at the end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
compile -> link replace
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
url(../xxx/xxx.jpg)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
739
740
741
742
743
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
\(
?
(
[
0
-
9
]
{3}
)
\)
?
(
[
.-
]
?
)
(
[
0
-
9
]
{3}
)
\2
(
[
0
-
9
]
{4}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago