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 2,960 community submitted regex patterns...
1
Cedula Paraguaya con Digito Verificador
PCRE2 (PHP >=7.3)
Valida la C.I. de Paraguay con DV (Opcional)
Submitted by
anonymous
-
a year ago
1
nmcli WiFi list
PCRE2 (PHP >=7.3)
Extract different fields from the list output of nmcli: nmcli --terse --colors no --fields IN-USE,BSSID,SSID,MODE,CHAN,RATE,SIGNAL,BARS,SECURITY,FREQ,DEVICE device wifi list
Submitted by
Simon Bagley
-
a year ago
(Last modified a year ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
a year ago
1
integer only
PCRE2 (PHP >=7.3)
^[0-9]+$
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
SUT - Package Matching
PCRE2 (PHP >=7.3)
test
Submitted by
MHE
-
a year ago
1
Akamai - Extended + Custom field + GhostIP + CacheStatus + WAF
PCRE2 (PHP >=7.3)
Akamai LDS log format - Extended + Custom field + GhostIP + CacheStatus + WAF
Submitted by
anonymous
-
a year ago
1
Traveloka match url accomodation only
PCRE2 (PHP >=7.3)
match url for traveloka accomodation
Submitted by
anonymous
-
a year ago
1
traveloka accomodation url
PCRE2 (PHP >=7.3)
match traveloka accomodation url
Submitted by
anonymous
-
a year ago
1
XML/HTML Tag selector
PCRE2 (PHP >=7.3)
Pros: Attribute-aware (but not complete parse) Content-aware (text only) Cons: Might poor performance (unnecessary matches if you work on a ssr thing)...
Submitted by
stdpi
-
a year ago
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
a year ago
1
חיפוש במשמעות של "או" ספרי הרמב"ם
PCRE2 (PHP >=7.3)
רוצים לחפש את המילה ספר בהתייחס לכל ספרי הרמב"ם
Submitted by
ישורון קובי
-
a year ago
1
QIF amount from French format to English for MS MONEY
PCRE2 (PHP >=7.3)
For a QIF file extracted from Boursorama bank account, transform the diffrent amount in French format to an English format (without thousand separator) for MS Money. ^([T\$])([-+]?)(\d*)(\s?)(\d+)(\,)(\d+)$ Substitute with $1$2$3$5.$7
Submitted by
anonymous
-
a year ago
1
QIF date from ISO format to French format
PCRE2 (PHP >=7.3)
Transforms an ISO date (YYY-MM-DD) into a French format date (DD/MM/YYYY). Substitute : D$3/$2/$1
Submitted by
Christian CROCHE
-
a year ago
1
Search disabled SSL verification
PCRE2 (PHP >=7.3)
Find SSLVerify = false
Submitted by
@Sergiomarotco
-
a year ago
1
Find all text lines after simple time code
PCRE2 (PHP >=7.3)
Given a time code caption file (not standards compliant) use this script to match all lines following a time code line You can use this regex in Notepad++ to generate a new file that only contains the matches in the form of ^(?!\d:\d{2}+).+
Submitted by
Alexander Roberts
-
a year ago
1
Get a canonical link from html page
PCRE2 (PHP >=7.3)
Gets the canonical link from a html page provided it has one
Submitted by
anonymous
-
a year ago
1
Prime number test
PCRE2 (PHP >=7.3)
Prime number test
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Match paths
PCRE2 (PHP >=7.3)
Match paths
Submitted by
os_niko
-
a year ago
1
git-flow branch names
PCRE2 (PHP >=7.3)
This is the regex for our branch names.
Submitted by
stefanfrede
-
a year ago
1
Custom Datetime Finder
PCRE2 (PHP >=7.3)
Determine date time parts
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
24
25
26
27
28
...
148
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
~
<url>
\s
*
(?>
(?>
(?>
<lastmod>
\s
*
(?<mod>
[^
<
]
+
)
\s
*
</lastmod>
)
|
(?>
<changefreq>
\s
*
(?<freq>
\w
+
)
\s
*
</changefreq>
)
|
(?>
<priority>
\s
*
(?<prio>
[
01
]
(?>
\.
\d
{1,2}
)?)
\s
*
</priority>
)
)
\s
*
){0,3}
\s
*
<loc>
\s
*
(?<uri>
[^
<
]
+
)
\s
*
</loc>
\s
*
(?>
(?>
(?>
<lastmod>
\s
*
(?<mod>
[^
<
]
+
)
\s
*
</lastmod>
)
|
(?>
<changefreq>
\s
*
(?<freq>
\w
+
)
\s
*
</changefreq>
)
|
(?>
<priority>
\s
*
(?<prio>
[
01
]
(?>
\.
\d
{1,2}
)?)
\s
*
</priority>
)
)
\s
*
){0,3}
\s
*
</url>
~
gxuJ
Open regex in editor
Description
Match all XML sitemap
url
records with all known fields
See
Sitemaps XML format
for details.
Submitted by
Slava Krampetz
-
4 years ago