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)
pcre2
shopee video
regex for share shopee video from mobile app
Submitted by
lavi
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
shopee share link from mobile
regex for shopee share link in mobile app
Submitted by
lavi
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
shopee live video
regex for shopee live video
Submitted by
lavi
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Dotnet Solution Project Parser
Parse the projects listed in a sln file
Submitted by
github.com/rbleattler
-
a month 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)
pcre2
SnackVideo and Others Social Media
This syntax I've used to block SnackVideo and others social media (Helo, Likee, Smule, etc) that use google services on their site. Currently tested on Adguard Home.
Submitted by
devinaws
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
valid path
valid path
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Cloudfront.net
This syntax I've used to block some Indonesian gambling site that using cloudflare services to hide their real IP address. "Use at your own risk"
Submitted by
anonymous
-
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
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Find anything between comillas.
This regex gets anything between double quotes.
Submitted by
Tomas Giordano
-
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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
dotnet
date time validation
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Amadeus TST Match
Analyzes Amadeus TST element
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Jira images
It finds images in Jira markup
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
langchain
langchain
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Suriname phone number
So the regular expression ensures that the phone number starts with "+597", followed by either a 7 or 8, and then six more digits. This will match all three phone numbers you provided as examples.
Submitted by
Kenny
-
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)
golang
Get digits
Trying to get digits
Submitted by
Arthur Silva
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Telegram messages url
to match telegram messages url
Submitted by
anonymous
-
a month ago
1
...
4
5
6
7
8
9
10
...
853
Match typescript filenames excluding .d.ts files
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
?
<!
\.
d
)
\.
(
?
<ext>
[
cm
]
?
ts
|
tsx
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
@yumyum-web
- 3 months ago