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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,840 community submitted regex patterns...
0
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Password regex
PCRE (PHP <7.3)
Password pattern looking for strength. Between 8 and 16 characters. At least: 1 UpperCase. 1 LowerCase. 1 SpecialCase. 1 Number
Submitted by
morethansimplycode.blogspot.com.es
-
9 years ago
1
Email Id Validity Checker
PCRE (PHP <7.3)
Checks whether given text is valid Email Id,check for top level domains which are 2-3 in length,does not accept numbers for top level domains
Submitted by
Debanjan Das
-
9 years ago
1
ip (CIDR) check
PCRE (PHP <7.3)
from 0.0.0.0 to 255.255.255.255
Submitted by
Marcel Bayer
-
9 years ago
1
turkish translations
PCRE (PHP <7.3)
regex to allow unicode chars & digits in config values
Submitted by
scopevale
-
9 years ago
0
Validate Semantic version numbering
PCRE (PHP <7.3)
This validates version numbers that adhear to the Semantic protocol e.g. in form of xx.xx.xx or 1.2.2
Submitted by
Al
-
9 years ago
1
TLD Scratch tapes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
body tag extract
PCRE (PHP <7.3)
no description available
Submitted by
Girish
-
9 years ago
0
SAS Boundaries version 3
PCRE (PHP <7.3)
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
9 years ago
0
Select or locate the last underscore (or dot, etc) in a string
PCRE (PHP <7.3)
This string can help you locate/select the last underscore in a string
Submitted by
Hao
-
9 years ago
1
URL parser RegEx
PCRE (PHP <7.3)
Parse full URL and find parts
Submitted by
Dakr Coder
-
9 years ago
0
most sas boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
9 years ago
0
Most SAS boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
9 years ago
1
starts with abc, has 123 and ends with xyz
PCRE (PHP <7.3)
#starts with abc, has 123 and ends with xyz abc123xyz
Submitted by
Kifah
-
9 years ago
0
Extract all XML attribute names
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects all attributes, having or not having values. Includes the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovskyi
-
9 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
9 years ago
0
UK Companies Registration Number
PCRE (PHP <7.3)
Checks that the number and optional prefix submitted are in a valid UK Companies House format.
Submitted by
Steve Haworth
-
9 years ago
-2
^.+(c.youtube.com|googlevideo.com|cdn.dailymotion.com).*\$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
$ en anglais ($xx.xx)
PCRE (PHP <7.3)
$ en anglais ($xx.xx)
Submitted by
EA
-
9 years ago
3
Nombres 4 chiffres
PCRE (PHP <7.3)
Nombres 4 chifres
Submitted by
EA
-
9 years ago
1
...
528
529
530
531
532
...
592
hex string
1
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
[
0
-
9a
-
fA
-
F
]
{2}
)+
$
)
|
(
(?:
[
0
-
9a
-
fA
-
F
]
{2}
(
[
:
]
)
)+
(?:
[
0
-
9a
-
fA
-
F
]
{2}
)*
(
[
0
-
9a
-
fA
-
F
]
{2}
)+
$
)
/
gm
Open regex in editor
Description
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago