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,040 community submitted regex patterns...
1
password matching
ECMAScript (JavaScript)
no description available
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
Google-like search query pattern matching
ECMAScript (JavaScript)
To identify quoted strings, single terms as well as subtracting those types. Based on: http://stackoverflow.com/questions/1883188/google-like-search-query-tokenization-string-splitting
Submitted by
Michael La Voie
-
9 years ago
1
Spell Checker Test
ECMAScript (JavaScript)
For use in testing SpellChecker(MHApps)
Submitted by
Matt
-
9 years ago
0
body tag extract
PCRE (PHP <7.3)
no description available
Submitted by
Girish
-
9 years ago
4
Typescript - /// <reference path="..."/> Expression
ECMAScript (JavaScript)
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
9 years ago
0
CPF/CNPJ - Com/Sem máscara
ECMAScript (JavaScript)
Valida se é um CPF ou um CNPJ válido, independente da máscara
Submitted by
Victor A. de O. Neto
-
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
1
Ordinal
Python
Matches ordinal numbers
Submitted by
D
-
9 years ago
1
huj
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
1
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
1
Password with length limit 8-16 characters
ECMAScript (JavaScript)
no description available
Submitted by
Dayo
-
9 years ago
1
...
807
808
809
810
811
...
902
Community Library Entry
-2
Regular Expression
Python
r"
^
(
[
0
-
9
]
{4}
(
(
0
[
1
-
9
]
)
|
(
1
[
0
-
2
]
)
)
(
(
0
[
1
-
9
]
)
|
(
[
1
-
2
]
[
0
-
9
]
)
|
(
3
[
0
-
1
]
)
)
(
(
(
[
0
-
1
]
[
0
-
9
]
)
|
(
2
[
0
-
3
]
)
)
[
0
-
5
]
[
0
-
9
]
[
0
-
5
]
[
0
-
9
]
(
\.
[
0
-
9
]
{3}
((
\[
[
\+\-
]
?
(
0
[
0
-
9
]
|
1
[
0
-
4
]
)
(
:
(
00
|
30
|
45
))?
\]
)?)?
)?
)?
)
$
"
Open regex in editor
Description
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago