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 14,340 community submitted regex patterns...
1
Teléfono Español - Spanish Phone
PCRE (PHP <7.3)
Con posibilidad de poner el código de país antes. Valida números de 9 cifras que empiecen con 9,6 o 7.
Submitted by
Krato
-
8 years ago
1
V2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
iso8610 extended
PCRE (PHP <7.3)
match ISO 8610 formatted dates
Submitted by
marco benuzzi
-
8 years ago
1
ng2interpolation to handlebars
PCRE (PHP <7.3)
no description available
Submitted by
jskrzypek
-
8 years ago
1
Find location of Open Search Description XML file
PCRE (PHP <7.3)
Find the location (HREF value) of the Open Search Description link tag.
Submitted by
Evander Consus
-
8 years ago
1
Find location of Open Search Description XML file
PCRE (PHP <7.3)
Find the location (HREF value) of the Open Search Description link tag.
Submitted by
Evander Consus
-
8 years ago
1
Test match
PCRE (PHP <7.3)
xxxxx
Submitted by
WeAthFolD
-
8 years ago
1
Remove user id from shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
GET formated URLs
PCRE (PHP <7.3)
no description available
Submitted by
rleonard
-
8 years ago
1
parser cron
PCRE (PHP <7.3)
* app.php 59 23 31 12 5 app.php 59 23 31 dec fri app.php 1,2,3,5,20-25,30-35,59 23 31 12 * app.php */15 */6 1,15,31 * 1-5 app.php
Submitted by
Dmitry Mamontov
-
8 years ago
1
simple email validator
PCRE (PHP <7.3)
shows entire email address group and partials. contains literals
Submitted by
anonymous
-
8 years ago
1
Match Class Name
PCRE (PHP <7.3)
Matching all the proper class names
Submitted by
anonymous
-
8 years ago
1
Remove Anchor Links
PCRE (PHP <7.3)
no description available
Submitted by
Meesh
-
8 years ago
1
Anchor ID Remove
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract Headings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
watched_movie
PCRE (PHP <7.3)
Grab multiple events with various fields from plex media logs to see who watched what and when from where. Using for splunk dashboard.
Submitted by
sydvishus
-
8 years ago
1
VTT Timecodes
PCRE (PHP <7.3)
Get timecodes from a line of text in a VTT file
Submitted by
Wubbajack
-
8 years ago
1
Find MD Headings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
arwe
Python
rwe
Submitted by
wree
-
8 years ago
1
...
583
584
585
586
587
...
717
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