Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
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
-
19 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Capture URL without Query Parameters
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
20 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
ENEL T5 Mono
T
Submitted by
anonymous
-
21 days ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
ISD Codes for Phones
ISD Codes for Phones Matches the basic format for ISD Codes.
Submitted by
Arvind Singh Rawat
-
22 days ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
javascript
tiktok video id
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
-
23 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
all instagram regex
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
23 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Match Discord Emoji
This matches all type of emoji which can be used on Discord.
Submitted by
cph101
-
24 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Catch multiline escaped text between quotes
Catch multiline escaped text between quotes: Catch quotes It is a functional component...
Submitted by
David Blanchard
-
24 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
domain name with subdomains
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Extract Movie Title and Year from Torrent Names
Extract Movie Title and Year from Torrent Names
Submitted by
Ranveer
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Trimmed (no unicode space separators at start or end of string
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 month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
phones
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
gsap current price
Getting google shopping current pricees
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
SUPPL REGEX
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Commafication (this BREAKS ON APPLE DEVICES!!!!)
Commafy any number! 30000 = 30,000 303123 = 303,123 999888777 = 999,888,777
Submitted by
Mendel Groner
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Example 1.1: Pet Name
Example used in slide 39
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Unicode Email Validation
Unicode Email Validation
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
hsl colors
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
java
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
test everything
hello
Submitted by
anonymous
-
a month ago
1
2
3
4
5
...
639
E-mail address
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
javascript
/
^\w
+
(
[
.-
]
?
\w
+
)*
@
[
a
-
zA
-
Z_
]
+
?
.
[
a
-
zA
-
Z
]
{2,3}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
David Bécu
- 3 months ago