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)
pcre
Extract [http|https] schemes from domain URL
Regex for http:/https: or only domain url stating with a slash Examples: https://example.domain http://example.domain //example.domain...
Submitted by
divineniiquaye
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Credit Card Mask
You can use this pattern to mask your raw credit card's number, like this one: 1111222233334444 => 1111-2222-3333-4444
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
weighted average
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Barueri NFE
Barueri NFE
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
YouTube ID from URL parser
Retrieves video ID from any YouTube URL: youtube.com/watch?v=DFYRQ_zQ-gk www.youtube.com/watch?v=DFYRQ_zQ-gk http://youtube.com/watch?v=DFYRQ_zQ-gk http://www.youtube.com/watch?v=DFYRQ_zQ-gk...
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
bot
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Non-symmetric positive lookahead (touching relation)
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Sucinnost
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Sri Lankan Modern Licence Number Plate Regex
// Sri Lankan Modern Licence Number Plate Regex // FORMAT : PP LLL DDDD PP - Province (SP, NW, WP, UP, CP, NC, SG, EP, NP) LLL - 3 Letter...
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
golang
Flexible box
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
forAllWorkToIll
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
No repeating, no 1234567889,
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
wiremock all except regex
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
dnsmasq query logs
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
SKCET REGNO
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
carryover_assimilation_plosives
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Final Regex for the log
A single regex with the AND operator instead of OR
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Telefones
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
CPFs
no description available
Submitted by
anonymous
-
3 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Bug in regexp match count
no description available
Submitted by
anonymous
-
3 years ago
1
...
713
714
715
716
717
718
719
...
854
Repeating letters more than once
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(?:
\p{L}\p{M}
?
)*
(
\p{L}\p{M}
?
)
(?=
\1
{2}
)
(?:
\p{L}\p{M}
?
)*
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 7 years ago