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,840 community submitted regex patterns...
0
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
a year ago
0
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
a year ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
Email address supporting plus addressing and multiple subdomains.
ECMAScript (JavaScript)
This expression follows the rules displayed at https://knowledge.validity.com/hc/en-us/articles/220560587-What-are-the-rules-for-email-address-syntax-. Note that their rules DO NOT exactly match those of the applicable RFC 5322 (sections 3.2.3 and 3.4.1) and RFC 5321, but rather supports a pattern ...
Submitted by
Eric Bewley
-
a year ago
0
Extract email from - Add "email"
ECMAScript (JavaScript)
Replace Add "xyz@abc.com" with xyz@abc.com
Submitted by
anonymous
-
a year ago
0
i++ in bash
PCRE (PHP <7.3)
asdf
Submitted by
anonymous
-
a year ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
0
hsl colors
ECMAScript (JavaScript)
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
a year ago
0
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
a year ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
a year ago
(Last modified a year ago)
0
gsap current price
ECMAScript (JavaScript)
Getting google shopping current pricees
Submitted by
anonymous
-
a year ago
0
Trimmed (no unicode space separators at start or end of string
ECMAScript (JavaScript)
Disallows all space-like characters -- see https://www.fileformat.info/info/unicode/category/Zs/list.htm -- at the start or end of the string
Submitted by
anonymous
-
a year ago
0
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
a year ago
0
Match Discord Emoji
ECMAScript (JavaScript)
This matches all type of emoji which can be used on Discord.
Submitted by
cph101
-
a year ago
0
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
a year ago
0
0及最多6位正负整数
ECMAScript (JavaScript)
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
a year ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
a year ago
0
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
a year ago
(Last modified 8 months ago)
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
a year ago
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
a year ago
1
...
637
638
639
640
641
642
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