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
0
Regular Expression
ECMAScript (JavaScript)
/
(
https
?
:
\/\/
)?
(
www
\.
)
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,4}
\b
(
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&
\/
=
]
*
)
|
(
https
?
:
\/\/
)?
(
www
\.
)?
(?!
ww
)
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,4}
\b
(
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&
\/
=
]
*
)
/
gm
Open regex in editor
Description
Finds all website URLs
Submitted by
JohnnyJTH
-
3 years ago