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
Community Patterns
Search among 4,660 community submitted regex patterns...
0
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
0
IPv4 Address +/- CIDR Slash Notation
Python
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
-
2 years ago
(Last modified 9 months ago)
0
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
Submitted by
anonymous
-
2 years ago
0
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
Submitted by
anonymous
-
2 years ago
0
Street name and house number
PCRE2 (PHP >=7.3)
Checks if address given has a street name and a house number among other things
Submitted by
Bill Seremetis (bserem)
-
2 years ago
0
URL Domain Capture
Python
A Python capture group for URL domain extraction.
Submitted by
DataQuest
-
2 years ago
0
Phone number
PCRE2 (PHP >=7.3)
It works like it looks, a plus followed by 1 or 2 digits, followed by a standard 10 digit phone number
Submitted by
Brady Kelly
-
2 years ago
1
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
2 years ago
0
Day, year and month regex
PCRE2 (PHP >=7.3)
This regex allows to match date format with the same separators
Submitted by
Cymon
-
2 years ago
0
Match CamelCase
PCRE2 (PHP >=7.3)
Matches PascalCase or CamelCase
Submitted by
anonymous
-
2 years ago
0
IPv4 non zero first and last octet
PCRE2 (PHP >=7.3)
When validating an IPv4 address I often have to reject devices that the first and last octet are 0.
Submitted by
John Cutburth
-
2 years ago
0
nr_classe
PCRE2 (PHP >=7.3)
separação de um código numérico simples
Submitted by
anonymous
-
2 years ago
0
month with year extraction
Python
ready code
Submitted by
anonymous
-
2 years ago
0
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
2 years ago
0
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
2 years ago
0
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
2 years ago
0
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
2 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
2 years ago
0
Yandex music track regex
Python
Regex for yandex music track
Submitted by
anonymous
-
2 years ago
0
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
2 years ago
1
...
98
99
100
101
102
...
233
Email address formats
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
+
\.
\w
\+
-
]
*
@
[
\w
-
]
+
(
\.
[
a
-
z
]
{2,6}
)*
(
\.
[
a
-
z
]
{2,6}
)
$
/
gm
Open regex in editor
Description
Validates a few unregular formats of email.
Submitted by
Oren Zur-Shavit
-
3 years ago