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 3,800 community submitted regex patterns...
0
Anime Xdcc Name + Episode Regex
Golang
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
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
OmegaT
Java 8
regular expressions used in OmegaT
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
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
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
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
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
Make article title italic for PmWiki
ECMAScript (JavaScript)
Make article title italic for PmWiki
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
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
a year ago
0
carbon
Java 8
test1
Submitted by
anonymous
-
a year ago
3
YouTubeVideoUrl
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
-
a year ago
(Last modified a year ago)
0
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
a year ago
0
SRD TEST Internal
ECMAScript (JavaScript)
Test guts to gather Stat and amount
Submitted by
anonymous
-
a year ago
2
RFC3339 - JavaScript
ECMAScript (JavaScript)
Regex to validate a string that is RFC3339 compliant in JavaScript. RFC3339: https://www.rfc-editor.org/rfc/rfc3339. Expands upon: https://regex101.com/r/qH0sU7 by adding named capture groups for coding best practices.
Submitted by
Elliot Huffman
-
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
Storyblok Img2
ECMAScript (JavaScript)
Parse img2.storyblok.com URLs
Submitted by
anonymous
-
a year ago
(Last modified 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
Shashi test
ECMAScript (JavaScript)
Shashi
Submitted by
anonymous
-
a year ago
1
...
11
12
13
14
15
...
190
iframe src url
0
Regular Expression
ECMAScript (JavaScript)
/
src=
(
[
"'
]
)
(?<url>
(?:
https
?
:
)?
\/\/
(?:
(?!
\1
)
.
)*
?
)
\1
/
gm
Open regex in editor
Description
Extract the URL (http(s) only) of a given iframe's src attribute.
Submitted by
Neill
-
3 years ago
(Last modified 3 years ago)