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,740 community submitted regex patterns...
0
S3 AWS Bucket Matcher
ECMAScript (JavaScript)
This matcher follows the rules given at https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html for legal s3 bucket names (the segment before the first slash if any)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
SAP_ECTR_ID
PCRE (PHP <7.3)
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
a year ago
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
(Last modified a month 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
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
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
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 9 months ago)
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
a year ago
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
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
0
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
633
634
635
636
637
Get h1-6 tag
0
Regular Expression
.NET 7.0 (C#)
@"
<
(
h
[
1
-
6
]
){1}
(?:
.
*
?
)?
>
(
.
*
?
)
</h
[
1
-
6
]
>
"
g
Open regex in editor
Description
<(h[1-6]){1}(?:.
?)?>(.
?)</h[1-6]>
Submitted by
OlegBel
-
a year ago