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
lazada share mobile url
regex for lazada share link from mobile apps
Submitted by
lavi
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
lazada campaign
regex lazada campaign url
Submitted by
lavi
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
lazada product desktop
lazada url product desktop
Submitted by
lavi
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
shopee url from desktop browser
regex for shopee url from desktop browser
Submitted by
lavi
-
a month ago
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)
pcre2
Find anything between comillas.
This regex gets anything between double quotes.
Submitted by
Tomas Giordano
-
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)
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)
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
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Innovative
Parts
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Date with leap years
Accepting every date between 2010 to 2050. Format is YYYY-MM-DD hh:mm
Submitted by
Sten
-
a month ago
1
2
3
4
5
6
7
...
571
Replace multiple spaces to single space.
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
preg_replace
(
'!
\s
+
!',
'
',
$
s
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 3 months ago