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 17,600 community submitted regex patterns...
0
nr_classe
PCRE2 (PHP >=7.3)
separação de um código numérico simples
Submitted by
anonymous
-
3 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
-
3 years ago
0
Match CamelCase
PCRE2 (PHP >=7.3)
Matches PascalCase or CamelCase
Submitted by
anonymous
-
3 years ago
0
Google Analytics Pattern
ECMAScript (JavaScript)
Padrão de formatação do Google analytics usando o identificador universal UA e prevendo que a base de usuários pode crescer, conforme discusão em
Submitted by
@brunosf
-
3 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
3 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
-
3 years ago
0
Cbre bookingid
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
3 years ago
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
3 years ago
0
rwd
ECMAScript (JavaScript)
rwd
Submitted by
anonymous
-
3 years ago
0
parse valid time
ECMAScript (JavaScript)
parse valid time modified slightly from https://regexland.com/regex-time-am-pm/
Submitted by
me
-
3 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
-
3 years ago
0
Certificate
ECMAScript (JavaScript)
Certificate
Submitted by
anonymous
-
3 years ago
0
URL Domain Capture
Python
A Python capture group for URL domain extraction.
Submitted by
DataQuest
-
3 years ago
0
Password
ECMAScript (JavaScript)
Password regular expression
Submitted by
AhbapAldırma
-
3 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)
-
3 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
-
3 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
-
3 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
-
3 years ago
(Last modified a year ago)
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
3 years ago
0
xrandr device line
PCRE2 (PHP >=7.3)
Device line of xrandr output
Submitted by
anonymous
-
3 years ago
1
...
464
465
466
467
468
...
880
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?(DEFINE)
(?'loc_part'
[
\w
!#$%&'*+
\-\/
=?^`{|}~
]
+
)
(?'loc'
\g'loc_part'
(?:
\.
\g'loc_part'
)*
)
(?'subdom'
[
a
-
z
]
(?:
[
a
-
z
\d
-
]
*
[
a
-
z
\d
]
)?
)
(?'tld'
[
a
-
z
]
{2,6}
)
)
(?'local'
\g'loc'
)
@
(?'domain'
(?:
\g'subdom'
\.
)+
\g'tld'
)
/
ixg
Open regex in editor
Description
match some emails and extract their local part and domain
Submitted by
dang duomg 191
-
6 months ago
(Last modified 6 months ago)