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,640 community submitted regex patterns...
0
Reverse list of ASN.1 OIDs/Short Names/Long Names for X.509 certificates under OpenSSL
PCRE (PHP <7.3)
OIDs are just numbers in the format 1.2.3.4.5.6.7.8.9... Short names are alphanumeric, contiguous descriptions (no spaces, hyphens allowed) Long names can be basically everything (sometimes even UTF-8!) Sometimes, organisations providing the list of 'their' OIDs might reverse the order, for listing...
Submitted by
Gwyneth Llewelyn
-
a year ago
0
Phone number Malaysia RegEx
PCRE (PHP <7.3)
A regular expression of Malaysian phone number I made to be used on a project using flutter.
Submitted by
anonymous
-
a year ago
0
IBAN
ECMAScript (JavaScript)
desc
Submitted by
anonymous
-
a year 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
-
a year 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
-
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
Get python function declaration
Rust
Gets the python function declarations
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
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
1
...
628
629
630
631
632
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