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 12,960 community submitted regex patterns...
0
Extracting subtitle entries
PCRE (PHP <7.3)
Extract subtitle entries out of SRT files.
Submitted by
anonymous
-
a year ago
0
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
ECMAScript (JavaScript)
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
Submitted by
anonymous
-
a year ago
0
placeables
ECMAScript (JavaScript)
placeables
Submitted by
anonymous
-
a year ago
0
https://github.com/AriesTriputranto9/datasets.git
PCRE (PHP <7.3)
actions-runner-win-x64-2.300.2.zipDownload We recommend configuring the runner under "\actions-runner". This will help avoid issues related to service identity folder permissions and long path restrictions on Windows. Create a folder under the drive root $ mkdir actions-runner; cd actions-runner# D...
Submitted by
AriesTriputranto
-
a year ago
0
Password validation
ECMAScript (JavaScript)
Regex used for password validation. A password match the following: At least 8 characters in length Minimum of 1 lower-case character Minimum of 1 upper-case character Minimum of 1 digit Minimum of 1 special character (non-whitespace)
Submitted by
Sjoerd de Vries
-
a year ago
0
Mail address validation
ECMAScript (JavaScript)
Validates mail addresses
Submitted by
Sjoerd de Vries
-
a year ago
0
Get h1-6 tag
.NET 7.0 (C#)
(.*?)
Submitted by
OlegBel
-
a year ago
0
[NOT WORKING] css/scss filenames but not css-modules (*.module.<extension>)
ECMAScript (JavaScript)
Get file paths .css or .scss but not .module.css or .module.scss
Submitted by
krutoo
-
a year ago
0
Tel
ECMAScript (JavaScript)
Válida números de telefone
Submitted by
Mateus
-
a year ago
0
Percentage only
ECMAScript (JavaScript)
Percentage only
Submitted by
cagatayucar
-
a year ago
0
US|CA dollar
ECMAScript (JavaScript)
US|CA dollar regexp
Submitted by
cagatayucar
-
a year ago
0
NMEA after timestamps
PCRE (PHP <7.3)
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
a year ago
0
property and value capture
ECMAScript (JavaScript)
capture property and value which have color attribute in it
Submitted by
Keshav
-
a year ago
0
Valid Scientific Notation Number
Java 8
A valid number can be split up into these components (in order): A decimal number or an integer. (Optional) An 'e' or 'E', followed by an integer. A decimal number can be split up into these components (in order):...
Submitted by
cliserkad
-
a year ago
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
Match IPv4 Valid
.NET 7.0 (C#)
expression to capture valid IP
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)
1
...
637
638
639
640
641
...
648
hsl colors
0
Regular Expression
ECMAScript (JavaScript)
/
^
hsla
?
\(
\s
*
(?<h>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
(
deg
|
grad
|
rad
|
turn
)?
\s
*
(?:
,
\s
*
|
\s
+
)
\s
*
(?<s>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
%
\s
*
(?:
,
\s
*
|
\s
+
)
\s
*
(?<l>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
%
\s
*
(?:
,
\s
*
|
\s
+
)?
(?:
\s
*
\/
?
\s
*
(?<alpha>
[
-+
]
?
[
\d
.
]
+
%
?
)
\s
*
)?
\)
$
/
gmi
Open regex in editor
Description
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
a year ago