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 3,400 community submitted regex patterns...
-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
1
Strong Matcher for ISO 8601 / RFC 3339 Date Times; rejects bad TZ offsets, illegal times (Museum of Bad Data)
ECMAScript (JavaScript)
Handles many nuanced cases around time zone offsets, leap seconds and leap days. References: List of UTC Offsets RFC 3339, the stricter rules that most systems use in practice ISO 8601, the widely known name for this format...
Submitted by
Philip Flip Kromer (@mrflip)
-
a year ago
1
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data)
ECMAScript (JavaScript)
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data) https://regex101.com/library/F21Glr Matches only (and every) UTC offset that is in actual use and valid under ISO 8601 and RFC 3339 (Y'know, the '2008-08-08T08:08:08+05:00' looking one, this is the plus/min...
Submitted by
Philip Flip Kromer
-
a year ago
1
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
ECMAScript (JavaScript)
This will match all four-digit years that are leap years, using the "either (multiple of four but not a multiple of 100) OR (multiple of 400)" rule. Explained / ^(...
Submitted by
Philip Flip Kromer
-
a year ago
1
Capture URL without Query Parameters
ECMAScript (JavaScript)
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
a year ago
2
ISD Codes for Phones
ECMAScript (JavaScript)
ISD Codes for Phones Matches the basic format for ISD Codes.
Submitted by
Arvind Singh Rawat
-
a year ago
1
tiktok video id
ECMAScript (JavaScript)
get tiktok video id https://m.tiktok.com/h5/share/usr/6641141594707361797.html https://m.tiktok.com/v/6749869095467945218.html https://www.tiktok.com/@cchelseam..eow/video/6751181801206729990 https://www.tiktok.com/embed/6567659045795758085...
Submitted by
threedot
-
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
1
Catch multiline escaped text between quotes
ECMAScript (JavaScript)
Catch multiline escaped text between quotes: Catch quotes It is a functional component...
Submitted by
David Blanchard
-
a year ago
(Last modified 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
1
phones
ECMAScript (JavaScript)
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a year ago
0
gsap current price
ECMAScript (JavaScript)
Getting google shopping current pricees
Submitted by
anonymous
-
a year ago
0
Commafication (this BREAKS ON APPLE DEVICES!!!!)
ECMAScript (JavaScript)
Commafy any number! 30000 = 30,000 303123 = 303,123 999888777 = 999,888,777
Submitted by
Mendel Groner
-
a year ago
0
hsl colors
ECMAScript (JavaScript)
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
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
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
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
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
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
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
1
...
5
6
7
8
9
...
170
find domains in text
0
Regular Expression
ECMAScript (JavaScript)
/
(
^
|
\s
)
(
https
?
:
\/\/
(
www
\.
)?
|
www
\.
)
[
a
-
zA
-
Z0
-
9-
]
+
(
\.
[
a
-
zA
-
Z
]
{2,}
)+
(
\/
[
a
-
zA
-
Z0
-
9-._~!$&'()*+,;=:@
\/
]
*
)*
\/
?
(?=
$
|
\s
|
[^
\w
]
)
/
g
Open regex in editor
Description
This regex will find domain inside of strings
Submitted by
anonymous
-
a year ago