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,020 community submitted regex patterns...
0
XML file extract from logs
Python
For internal use
Submitted by
ezalos
-
2 years ago
0
Semver split
Golang
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
2 years ago
0
Match Emojis
ECMAScript (JavaScript)
Match all emojis using unicode
Submitted by
Sagar Panchal
-
2 years ago
0
Match Dates
Python
Write a program, which matches a date in the format "dd{separator}MMM{separator}yyyy". Use capturing groups in your regular expression.
Submitted by
anonymous
-
2 years ago
0
Bulgarian Phones
Python
A regex for finding a Bulgarian phone. A Softuni task
Submitted by
anonymous
-
2 years ago
0
Replace multiple spaces to single space.
PCRE2 (PHP >=7.3)
/preg_replace('!\s+!', ' ', $s)/gm
Submitted by
anonymous
-
2 years ago
0
get facebook page id - SMART
Python
get facebook page id from html response
Submitted by
anonymous
-
2 years ago
0
parse spanish medicine names
PCRE2 (PHP >=7.3)
sure that can be more shortly, but well... and a newbie
Submitted by
metaStringDay0
-
2 years ago
1
searchjsonmutikey
PCRE2 (PHP >=7.3)
jsonmultikey
Submitted by
anonymous
-
2 years ago
0
Obtiene Subject 3 Ouutlook
Python
'^Subject:.\s((=?^.[?=$]).*)'
Submitted by
Julio Bacan
-
2 years ago
0
Semantic Version
PCRE2 (PHP >=7.3)
Matches and groups categories of semantic versions.
Submitted by
Jon Stinnett
-
2 years ago
0
Dynamic Length Version Parser
PCRE2 (PHP >=7.3)
Matches on version syntax, grouping the Major version alone, Minor-Patch, and Label alone.
Submitted by
Jon Stinnett
-
2 years ago
0
IPv4 Address
PCRE2 (PHP >=7.3)
Matches on whole IP addresses
Submitted by
Jon Stinnett
-
2 years ago
0
IPv4 Address Labelled Octet
PCRE2 (PHP >=7.3)
Matches on IPv4 addresses and groups each octet.
Submitted by
Jon Stinnett
-
2 years ago
0
city regex opposite
ECMAScript (JavaScript)
Do the opposite so we can test for invalid characters
Submitted by
anonymous
-
2 years ago
0
edgedb dsn parser
ECMAScript (JavaScript)
parse an edgedb DSN string
Submitted by
dotlouis
-
2 years ago
0
Email selection
PCRE2 (PHP >=7.3)
Select emails from a string
Submitted by
anonymous
-
2 years ago
0
city
ECMAScript (JavaScript)
Letters, space and - , . ' & /
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Streetname
ECMAScript (JavaScript)
Letters, numbers, space and . , ' - /
Submitted by
anonymous
-
2 years ago
0
Validación_patentes_ARG
Python
Validación de patentes de Argentina, del tipo XXX### o XX###XX.
Submitted by
PMM
-
2 years ago
1
...
71
72
73
74
75
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
[
\w
]
{3}
{1,2}
[
\d
]
{1,2}
[
\d
]
{4}
(
[
\d
]
{2}
:
){3}
[
\d
]
{3}
(
AM
|
PM
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago