Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password-6-char-letters-numbers
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
5 months ago
2023-05-02 06:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Don’t
PCRE2 (PHP >=7.3)
Bb
Submitted by
Hi
-
5 months ago
2023-05-02 09:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NIgerian Phone Numbers RegEx Validation
PCRE2 (PHP >=7.3)
This RegEx validates whether a number is in the standard valid Nigerian mobile number format or not.
Submitted by
funmitoblessed
-
5 months ago
2023-05-02 15:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
primera expresion SA CV
PCRE2 (PHP >=7.3)
.SA.CV
Submitted by
roberto fernandez
-
5 months ago
2023-05-03 00:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Inclusions
PCRE2 (PHP >=7.3)
m
Submitted by
anonymous
-
5 months ago
2023-05-03 12:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date with leap years
PCRE2 (PHP >=7.3)
Accepting every date between 2010 to 2050. Format is YYYY-MM-DD hh:mm
Submitted by
Sten
-
5 months ago
2023-05-03 12:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Innovative
PCRE2 (PHP >=7.3)
Parts
Submitted by
anonymous
-
5 months ago
2023-05-03 15:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telegram messages url
PCRE2 (PHP >=7.3)
to match telegram messages url
Submitted by
anonymous
-
5 months ago
2023-05-03 18:06
(Last modified 5 months ago)
2023-05-03 18:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
5 months ago
2023-05-03 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Suriname phone number
PCRE2 (PHP >=7.3)
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
-
5 months ago
2023-05-03 19:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jira images
PCRE2 (PHP >=7.3)
It finds images in Jira markup
Submitted by
anonymous
-
5 months ago
2023-05-04 10:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Amadeus TST Match
PCRE2 (PHP >=7.3)
Analyzes Amadeus TST element
Submitted by
anonymous
-
5 months ago
2023-05-04 12:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find anything between comillas.
PCRE2 (PHP >=7.3)
This regex gets anything between double quotes.
Submitted by
Tomas Giordano
-
5 months ago
2023-05-04 20:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cloudfront.net
PCRE2 (PHP >=7.3)
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
-
5 months ago
2023-05-05 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
valid path
PCRE2 (PHP >=7.3)
valid path
Submitted by
anonymous
-
5 months ago
2023-05-05 13:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SnackVideo and Others Social Media
PCRE2 (PHP >=7.3)
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
-
5 months ago
2023-05-05 13:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
5 months ago
2023-05-05 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Dotnet Solution Project Parser
PCRE2 (PHP >=7.3)
Parse the projects listed in a sln file
Submitted by
github.com/rbleattler
-
5 months ago
2023-05-05 20:19
(Last modified 5 months ago)
2023-05-05 20:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
traceid or teace_id of skywalking
PCRE2 (PHP >=7.3)
match for traceid of skywalking etc.
Submitted by
czwanga
-
5 months ago
2023-05-06 05:18
(Last modified 5 months ago)
2023-05-06 05:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ajuda
PCRE2 (PHP >=7.3)
criado para fins de teste
Submitted by
anonymous
-
5 months ago
2023-05-06 13:19
1
...
568
569
570
571
572
573
574
...
577
catch options
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
#
+
s
*
(
[^
:
]
+
)
\s
*
:
\s
*
(
.
*
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Marek R
-
9 years ago
2015-03-16 09:18