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 3,640 community submitted regex patterns...
0
IBAN
ECMAScript (JavaScript)
desc
Submitted by
anonymous
-
2 years ago
0
All Phone Number in VietNam in a real project
ECMAScript (JavaScript)
This is data from many years and my boss want me to extract all the number in spreadsheet, it's about 14,000 records
Submitted by
Le Nam Son
-
2 years ago
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
-
2 years ago
(Last modified 2 years ago)
0
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
2 years ago
0
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
2 years ago
(Last modified 5 months 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
-
2 years ago
0
Extract email from - Add "email"
ECMAScript (JavaScript)
Replace Add "xyz@abc.com" with xyz@abc.com
Submitted by
anonymous
-
2 years ago
0
hsl colors
ECMAScript (JavaScript)
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
2 years ago
0
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
2 years ago
0
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
2 years ago
0
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
2 years ago
0
gsap current price
ECMAScript (JavaScript)
Getting google shopping current pricees
Submitted by
anonymous
-
2 years 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
-
2 years 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
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year ago
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
a year ago
(Last modified 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 a year ago)
1
...
178
179
180
181
182
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago