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
4
c#
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
5
Form Tag
Python
Form Tag
Submitted by
Jay Patel
-
9 years ago
5
psswd
Python
no description available
Submitted by
anonymous
-
9 years ago
5
Find and extract email domain
Python
Find and extract email domain. Ex: test@example.pt -> extract 'example.pt'
Submitted by
Fnxk
-
9 years ago
3
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
9 years ago
4
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
9 years ago
4
Date yyyy/mm/dd
PCRE (PHP <7.3)
Regex following "ISO 8601" without hour : allowing only month 1 to 12, the day of 1 to 31 for the months of 31 days, the months from 1 to 30 for the months of 30 days, the day of 1 to 28 for February, and the day from 1 to 29 for February of leap years
Submitted by
Sara DULMAR
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
5
Match Only Text
Python
no description available
Submitted by
anonymous
-
8 years ago
5
get specific value from html tag
PCRE (PHP <7.3)
no description available
Submitted by
A.ROA
-
8 years ago
4
BEST simple mail regex validator
ECMAScript (JavaScript)
VALIDATE ALL WOLRD MAIL RULES Very simple expression Less than 140 caracters. Validate on SonarQube typescript, javascript, angular rules ...
Submitted by
Ayslan Johnson (ayslanjohnson@gmail.com)
-
7 years ago
5
Match any url in text or html (http, https)
PCRE2 (PHP >=7.3)
Match any url in text or html (http, https)
Submitted by
Jérémy Munsch
-
3 years ago
4
For Auto RTFs
PCRE (PHP <7.3)
no description available
Submitted by
Dan Bloomquist
-
12 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
-
12 years ago
-1
Twitter Hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
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
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
1
...
15
16
17
18
19
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
NAME
)
(
(
\s
)?
:
(
\s
)?
)
(
[
|,|
(|)|
\\
|
\.
|
\"
|
\w
|
\-
|
\+
]
*
)
(
(
\s
)*
?
,
(
\s
)*
?
)
(
DESCR
)
(
(
\s
)?
:
(
\s
)?
)
(
[
|,|
(|)|
\\
|
\.
|
\"
|
\w
|
\-
|
\+
]
*
)
(
\s
)
(
PID
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
\-
|
\+
|=
]
+
)
(
(
\s
)+
,
(
\s
)+
)
(
VID
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
]
*
)
(
(
\s
)+
,
(
\s
)+
)
(
SN
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
]
*
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago