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 12,960 community submitted regex patterns...
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
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
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
...
564
565
566
567
568
...
648
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago