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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,800 community submitted regex patterns...
1
Swedish PIN
PCRE (PHP <7.3)
A simple regex for matching the format of swedish personal identifier numbers. They can be in the format of: yymmdd-nnnn yymmdd+nnnn yyyymmdd-nnnn...
Submitted by
anonymous
-
8 years ago
1
Código Postal
PCRE (PHP <7.3)
Código Postal Español en PHP
Submitted by
Krato
-
8 years ago
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
...
491
492
493
494
495
...
590
Extract times from a string
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9
]
{1,2}
:
?
(?:
[
0
-
9
]
{2}
)?
)
-
(
[
0
-
9
]
{1,2}
:
?
(?:
[
0
-
9
]
{2}
)?
)
\s
(
AM
|
PM
)
/
ig
Open regex in editor
Description
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
9 years ago