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
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
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
Numéros téléphone pas corrects (FR)
PCRE (PHP <7.3)
Numéros téléphone pas corrects (FR)
Submitted by
EA
-
9 years ago
1
Numéros téléphone corrects (anglais)
PCRE (PHP <7.3)
Numéros de téléphone avec ou sans parenthèses en anglais
Submitted by
EA
-
9 years ago
1
Site (Régis)
PCRE (PHP <7.3)
Site Régis
Submitted by
EA
-
9 years ago
1
Site FR
PCRE (PHP <7.3)
Site FR, pour trouver la version correcte.
Submitted by
EA
-
9 years ago
0
3 digit number between 82-104
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
noted xanbot
PCRE (PHP <7.3)
no description available
Submitted by
NotedBinkie
-
9 years ago
1
hex string
PCRE (PHP <7.3)
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago
1
java
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
reddit test match
PCRE (PHP <7.3)
just a test match
Submitted by
anonymous
-
9 years ago
1
cpc=ordinary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Persian Alphabet Characters
ECMAScript (JavaScript)
The Pesian Alphabet Chhars
Submitted by
Saeed Tabrizi
-
9 years ago
1
MASSA$%^&*)(*
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
remove versions from packages in centos dump
PCRE (PHP <7.3)
no description available
Submitted by
Dmitry Zagorulkin
-
9 years ago
0
Proposed OFX DateTimeType pattern for v. 2.1.1+
Python
no description available
Submitted by
Oleg Sakharov (karpuscul@gmail.com)
-
9 years ago
1
...
808
809
810
811
812
...
902
Community Library Entry
-2
Regular Expression
PCRE (PHP <7.3)
~
[^
/.
]
+
/
(?0)
?
\.\.
/
~
g
Open regex in editor
Description
Remove /../ recursively from urls
Submitted by
santiagoarizti@gmail.com
-
9 years ago