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...
3
Cisco ASA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Beginning of word
PCRE (PHP <7.3)
When looking for day, Sunday should not be matched.
Submitted by
Ben
-
9 years ago
4
match brackets outside quotes
ECMAScript (JavaScript)
no description available
Submitted by
Jerry
-
9 years ago
1
Duration with mandatory 'm'
ECMAScript (JavaScript)
Parses date-time duration strings +-1y2M3d4h5m6s, where 'm' is the dafault. Like this, where {} contains list of capturing groups: 21 - parsed as {,,,,21,} 2y2s - parsed as {2,,,,,2}
Submitted by
mbonaci
-
9 years ago
-2
username in url
PCRE (PHP <7.3)
should start with letter follow by letters and numbers and (-) - zero or more can't start or finish with (-) can't have two or more consecutive (-) char
Submitted by
Ali Azmoude
-
10 years ago
1
Yell Regex Version 2
Python
This version matches any sentence that sounds like yelling even it doesnt end with ? or !
Submitted by
Chaiwa Berian
-
10 years ago
0
Regex to match sentences that sound like yelling
Python
Bob answers 'Whoa, chill out!' if you yell at him. You can use this regex to match regexes like "WHAT THE HELL WERE YOU THINKING?"
Submitted by
Chaiwa Berian
-
10 years ago
1
FRDocExpression
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
mmtro-back log
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
10 years ago
0
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
L0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
add hint path to csproj references
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Extract domain and path from video embeds
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
C-Syle If Statement to Excel
ECMAScript (JavaScript)
no description available
Submitted by
nomloc
-
10 years ago
1
CPF
ECMAScript (JavaScript)
Validador de CPF
Submitted by
Gustavo Américo
-
10 years ago
-3
FQDN Fully Qualified Domain Name
PCRE (PHP <7.3)
no description available
Submitted by
Rafael Justo and Mauro Trajber
-
10 years ago
1
Encontrar espaço em branco duplicado
PCRE (PHP <7.3)
White space
Submitted by
Gustavo Américo
-
10 years ago
1
extract java property name and value
PCRE (PHP <7.3)
correctly handle the case where the value is splitted on multiple lines.
Submitted by
Zart Colwing
-
10 years ago
1
Single-line comment extraction
PCRE (PHP <7.3)
no description available
Submitted by
Jeff Hansen
-
10 years ago
1
...
835
836
837
838
839
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?:
https
?
)+
\:\/\/
+
[
a
-
zA
-
Z0
-
9
\/\.
_-
]
{1,}
)+
(?:
(?:
jpe
?
g
|
png
|
gif
|
bmp
|
webp
|
pna
|
tiff
|
svg
)
)
/
gsim
Open regex in editor
Description
Extract ALL images URLs from web page (unless domain is omitted because is local)
Submitted by
anonymous
-
2 years ago