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...
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago
3
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
9 years ago
0
WOrd with colon
ECMAScript (JavaScript)
no description available
Submitted by
HJ
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
0
Date Groupings
Python
no description available
Submitted by
flipkitty
-
9 years ago
1
Business Console
PCRE (PHP <7.3)
no description available
Submitted by
Raghunath Chilkuru
-
9 years ago
1
jjjj
PCRE (PHP <7.3)
GP \(Slim) . " .&,()-+_#* Line # & Relay/
Submitted by
anonymous
-
9 years ago
2
extract twitter username from url
ECMAScript (JavaScript)
Adopted one of answers from: http://stackoverflow.com/questions/5948051/regex-extract-twitterusername-from-url
Submitted by
anonymous
-
9 years ago
1
extract url from text
PCRE (PHP <7.3)
no description available
Submitted by
captain haddock
-
9 years ago
1
LG G3
ECMAScript (JavaScript)
LG G3 Device identifier:LG-D855, LG-D851, LG-D850, VS985 4G, LGLS990, LGUS990, LG-D852
Submitted by
guy sandler
-
9 years ago
17
Capture comma separated numbers
PCRE (PHP <7.3)
Capture comma separated numbers, no matter if there are spaces before or after the commas.
Submitted by
Fernando Nunes
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-3
a
PCRE (PHP <7.3)
a
Submitted by
a
-
9 years ago
1
Console.log line deletion, multi line.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
j
PCRE (PHP <7.3)
h
Submitted by
anonymous
-
9 years ago
0
time input
PCRE (PHP <7.3)
following input formats work-- 10am to 3pm 1am - 2pm 12pm-3pm
Submitted by
anonymous
-
9 years ago
1
Pega senha entre query Mysql
PCRE (PHP <7.3)
Recupera senha de queryMysql
Submitted by
Michael
-
9 years ago
1
Simplistic email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
youtube video id
ECMAScript (JavaScript)
any format, check domain to make sure it's a youtube url
Submitted by
Mantish
-
9 years ago
1
IP Addresses
PCRE (PHP <7.3)
Matches IP Addresses with minimum false positives
Submitted by
Austin-Hanson
-
9 years ago
1
...
827
828
829
830
831
...
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