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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,620 community submitted regex patterns...
0
Custom HTML/JavaScript email input validation
ECMAScript (JavaScript)
Only meant as an initial client-side filter to override the default input[type=email] validation done according to spec, which is much too simple. Inputs passing this regex MUST get validated in a more fine-grained manner again when received on the server-side
Submitted by
Neel Yadav
-
a year ago
(Last modified a year ago)
0
Extract domain and URI from an URL (no auth support)
ECMAScript (JavaScript)
This regex is used to extract a domain name (including subdomains) and the full URI from a URL. will not match when credentials are provided in the url.
Submitted by
anonymous
-
a year ago
0
Shashi test
ECMAScript (JavaScript)
Shashi
Submitted by
anonymous
-
a year ago
0
not working in browser
ECMAScript (JavaScript)
This regex works on regex101.com, but fails inside browser's console.
Submitted by
anonymous
-
a year ago
0
Storyblok Img2
ECMAScript (JavaScript)
Parse img2.storyblok.com URLs
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
get Alls methods , prototype, functions, etc.
ECMAScript (JavaScript)
((((\b(#|\w)+\b\.)?(\bprototype\b\.)?(\b(#|\w)+\b)(\s\=\s)?)?(\b(#|\w)+\b\s)\([\s\w,=]\s\))|(\bclass\b\s+\b\w+\b\s(extends\s\b\w+\b))(?=\s\{[\s\S]+\}))(?=\s*\{[\s\S]+\})
Submitted by
al.gau34
-
a year ago
0
SRD TEST Internal
ECMAScript (JavaScript)
Test guts to gather Stat and amount
Submitted by
anonymous
-
a year ago
0
carbon
Java 8
test1
Submitted by
anonymous
-
a year ago
0
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
a year ago
0
prince first try
ECMAScript (JavaScript)
im just trying this out
Submitted by
prince
-
a year ago
(Last modified a year ago)
0
Make article title italic for PmWiki
ECMAScript (JavaScript)
Make article title italic for PmWiki
Submitted by
anonymous
-
a year ago
0
HTML Image Regex
Java 8
This code will find image files with .gif and .jpg extensions which are present in a HTML or CSS code. Here I am using the prefix '/asmproxy/' to identify the resource and then checking if extension ends with a .gif or .jpg. This Regex has its limitations as we are using prefix.
Submitted by
Suman Mummaneni
-
a year ago
0
CSS RGB validation
ECMAScript (JavaScript)
It validates the RGB expression doesn't break the CSS parser.
Submitted by
Martin
-
a year ago
(Last modified a year ago)
0
chilean plate
ECMAScript (JavaScript)
A regex to parse Chilean automobile plates. It would use WWDDDD or WWWWDD
Submitted by
Dennis Tobar
-
a year ago
0
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
a year ago
0
VTT and SRT parser
ECMAScript (JavaScript)
(?:^|(? ([0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})(.*?)((?:\d+\n)?(?=[0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})|$)
Submitted by
anonymous
-
a year ago
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
a year ago
0
Different date format and label them accordingly
ECMAScript (JavaScript)
Classify \d\d \/ \d\d \/ \d{4} \w* \d\d, \d{4} \d{4}-\d\d-\d\d and label them
Submitted by
anonymous
-
a year ago
0
Typescript Types
ECMAScript (JavaScript)
get all typescript types, as well as imports and exports
Submitted by
snuffyDev
-
a year ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
a year ago
1
...
173
174
175
176
177
...
181
carbon
0
Regular Expression
Java 8
"
(
[
CM
]
)
\s
*
-
\s
*
(
\d
)
\s
*
-
\s
*
(
\d
)
|
(
T
)
\s
*
-
\s
*
(
\d
)
\s
*
-
\s
*
(
\d
)
\s
*
-
\s
*
(
\d
)
|
(
A
)
\s
*
-
\s
*
(
.
*
?
)
\s
*
-
\s
*
(
\d
)
\s
*
-
\s
*
(
\d
)
\s
*
-
\s
*
(
[
NSEO
]
)
\s
*
-
\s
*
(
[
AGD
]
*
)
"
gm
Open regex in editor
Description
test1
Submitted by
anonymous
-
a year ago