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 14,920 community submitted regex patterns...
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
Looking for valid phone number
Python
This locates a valid phone number in a list of phone numbers
Submitted by
Dandaps
-
a year ago
0
Find image links
Python
Finds image links, for example, links to other's pages on personal webpages.
Submitted by
anonymous
-
a year ago
0
detect proxy links
Python
can detect socks and http proxies and also authenticated proxies
Submitted by
Elyas Najibzadeh
-
a year ago
(Last modified 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
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
a year ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
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
Rem评论正则
Python
(?i)Rem\s+((\[(?i)(s|none|success|inconclusive|failed|error)\]\s+)|)(\".\"|\'.\')
Submitted by
xiong
-
a year ago
0
MAC Address Python
Python
Checking for MAC address matching in python
Submitted by
dhakavikaskumar
-
a year ago
0
HTML Link
Python
Get HTML Link
Submitted by
anonymous
-
a year ago
0
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
My Regex Expression
Python
I'm a new learner and I try to learn in coding & data analyst in web. And also need some financial support as well. I thank to you all when I get chance to learn from you all.
Submitted by
anonymous
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
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
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
a year ago
(Last modified a year ago)
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
a year ago
(Last modified a year ago)
1
...
732
733
734
735
736
...
746
vdbench error line
1
Regular Expression
Python
r"
(
\d
+
:
\d
+
:
\d
+
\.
\d
+
)
\s
+
(
\S
+
)
:
\s
+
(
\d
+
:
\d
+
:
\d
+
\.
\d
+
)
\s
+
op:
\s
+
(
\S
+
)
\s
+
lun:
\s
+
(
\/
\S
+
\/
\S
+
)
\s
+
lba:
\s
+
(
\d
+
)
\s
+
0x
[
0
-
9A
-
F
]
+
\s
+
xfer:
\s
+
(
\d
+
)
\s
+
errno:
\s
+
EIO:
\s
+
'I/O
error'
$
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago