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,040 community submitted regex patterns...
1
youtube link
ECMAScript (JavaScript)
+ link + id
Submitted by
ogerly
-
9 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
9 years ago
1
soundcloud url
PCRE (PHP <7.3)
soundcloud url in a link
Submitted by
ogerly
-
9 years ago
1
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
0
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
0
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
9 years ago
0
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
9 years ago
5
MAC address
ECMAScript (JavaScript)
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago
1
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
9 years ago
1
Find php short echo tags
PCRE (PHP <7.3)
Find instances of Usefult to replace with
Submitted by
JayCee
-
9 years ago
1
Find php short open tags
PCRE (PHP <7.3)
Finds instances of <? instead of <?php
Submitted by
JayCee
-
9 years ago
0
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
1
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Machine Readable Passport - Extractor
PCRE (PHP <7.3)
First version of MRP Extractor Future versions include Merge with validator (if possible) Check nationalities
Submitted by
Mauro
-
9 years ago
1
url 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Square_Brackets
ECMAScript (JavaScript)
no description available
Submitted by
Connor Goddard
-
9 years ago
1
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Pattern
ECMAScript (JavaScript)
This regular expression is designed to work with character-delimited strings, and provides a means to specify the index of delimiter occurrence at which content is extracted.
Submitted by
Connor Goddard
-
9 years ago
1
Absolute Date format
ECMAScript (JavaScript)
no description available
Submitted by
Jesse Benton
-
9 years ago
1
Parsing BWPROMO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
822
823
824
825
826
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<city>
[
A
-
Z
]
{1,2}
)
(
[^
\S\r\n
]
|
-
)*
(?<letters2>
[
A
-
Z
]
){1,2}
[^
\S\r\n
]
*
(?<numbers>
[
0
-
9
]
{1,4}
)
[^
\S\r\n
]
*
(?<suffix>
E
)?
/
gm
Open regex in editor
Description
German vehicle registration signs
Submitted by
musemind
-
2 years ago