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,660 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract words between ":" and "-"
PCRE (PHP <7.3)
extract string between strings
Submitted by
anonymous
-
4 years ago
2020-05-30 10:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get child configs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-30 14:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
google font downloader
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-31 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
google font css url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-31 13:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PHP Linting - Regex to bring curly brace next to control structure instead than on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-06-01 14:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-31 20:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
decode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-31 22:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
One parentheses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-05-31 23:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
What You Want to match? (Only ") OR CHARECTERS BETWEEN " ????
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-06-01 10:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RAMESH IS RAMESH ??
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-06-01 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Autonote.json matching
PCRE (PHP <7.3)
Matches most of the Open Dental autonote.json exports for shifting text around
Submitted by
anonymous
-
4 years ago
2020-06-01 16:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get SKU, leave out _# before file extension
PCRE2 (PHP >=7.3)
For a batch of photos named in the following fashion: {SKU}_{#}.jpg, where the _{#} is optional, only present when the photo is part of an image gallery for a given SKU. This expression uses lazy quantifying, because I need the expression to match as many characters as there are leading up to the p...
Submitted by
Mendel Groner
-
2 years ago
2022-03-31 14:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get Sku, leave out _# before file extension (version 2)
PCRE2 (PHP >=7.3)
Another rendition of the previous expression, without the lazy quantification. Here, the expression will match any character except for the underscore character, so if there is an underscore, it will stop and evaluate the lookahead. I wonder which one is faster
Submitted by
anonymous
-
2 years ago
2022-03-31 14:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
gradle - tasks.register
PCRE2 (PHP >=7.3)
migrate build.gradle legacy task registration to recommended approach using tasks.register
Submitted by
Pierre-Arnaud Galiana
-
2 years ago
2022-04-01 06:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
start and end of string same english vowel
PCRE2 (PHP >=7.3)
checks the string and matches if it has at start and end same vowel
Submitted by
anonymous
-
2 years ago
2022-04-01 12:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAR
PCRE2 (PHP >=7.3)
V12345678910 last, first MI D-321 D123 1 Primary Dx V12345678910 last, first I D-321 D123 1 Primary Dx V12345678910 last, first I Jr. D-321 D123 1 Primary Dx V12345678910 last, first I III D-321 D123 1 Primary Dx V12345678910 last, first I Jr. D-321 D123 1 Primary Dx V12345678910 last, f...
Submitted by
Eddie Choong
-
2 years ago
2022-04-01 19:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kendala
PCRE2 (PHP >=7.3)
kendala
Submitted by
rey
-
2 years ago
2022-04-02 05:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Compiler test
PCRE2 (PHP >=7.3)
Simple test for compiler regex. Not useful yet
Submitted by
marcosfons
-
2 years ago
2022-04-03 01:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aria-label
PCRE2 (PHP >=7.3)
get google map pins labels
Submitted by
mpiasta
-
2 years ago
2022-04-04 11:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Klik import search
PCRE2 (PHP >=7.3)
Regex to search for Klik imports
Submitted by
anonymous
-
2 years ago
2022-04-04 11:15
1
...
526
527
528
529
530
531
532
...
583
Normal URL
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[
A
-
Za
-
z
]
{3,9}
:
(
\/\/
)
)
(
[
-;:&=
\+\$
,
\w
]
+
)
[
.
]
(
[
-;:&=
\+\$
,
\w
]
+
)
[
.
]
(
[
-;:&=
\+\$
,
\w
]
+
)
)
(?:
(
[
.
-
;:&=
\+\$
,
\w
\/
]
*
)
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Alexa J.
-
2 years ago
2022-05-24 13:08