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...
7
8 upvotes, 1 downvotes (score 56.5%) (You must be signed in to vote)
Remove Widows (PHP)
PCRE (PHP <7.3)
Adds a non-breaking space between the last two words of sentences
Submitted by
herkulano
-
8 years ago
2015-09-13 13:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Pound checker
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-13 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL for victoria
PCRE (PHP <7.3)
no description available
Submitted by
Morten Mehus
-
8 years ago
2015-09-12 14:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Link splitter
PCRE (PHP <7.3)
Get every part of a link
Submitted by
Ricardo Boss (MCMainiac)
-
8 years ago
2015-09-12 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Я.Диск ссылки
PCRE (PHP <7.3)
no description available
Submitted by
pafnuty
-
8 years ago
2015-09-12 07:47
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
update match
PCRE (PHP <7.3)
no description available
Submitted by
ozarzu
-
8 years ago
2015-09-11 21:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
(((?:\<|\[)a href=\'|\")?((?:http:\/\/)?((?:www\.)?(?:[\w\d-_]*?\.)+(?
PCRE (PHP <7.3)
no description available
Submitted by
irisha_sutnuk
-
8 years ago
2015-09-11 15:46
4
6 upvotes, 2 downvotes (score 40.9%) (You must be signed in to vote)
tgs data delivery .zip ID
PCRE (PHP <7.3)
Pull zip download ID from default links. Works with datadelivery and datadelivery1
Submitted by
TRL
-
8 years ago
2015-09-11 15:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
tgs data delivery1
PCRE (PHP <7.3)
strips data delivery link 1 from TGS download link.
Submitted by
TRL
-
8 years ago
2015-09-11 15:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TGS DATA Delivery
PCRE (PHP <7.3)
Find the default link excluding zip file ID
Submitted by
TRL
-
8 years ago
2015-09-11 15:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Aux Copy Detection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 14:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Aux Copy Create
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 14:51
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Shortcode parser
PCRE (PHP <7.3)
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
8 years ago
2015-09-11 10:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
works
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 10:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
any tag
PCRE (PHP <7.3)
regex used to search for any tag (both html and xml)
Submitted by
dasmi
-
8 years ago
2015-09-11 09:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
testing
PCRE (PHP <7.3)
testing
Submitted by
Zeddy
-
8 years ago
2015-09-11 08:03
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
3~4 length password
PCRE (PHP <7.3)
1.the string can be of lenght 3 or 4 2.the string should start with a alphabet 3.the string should contain atleast one alphabet and number.
Submitted by
Kerwin
-
8 years ago
2015-09-11 06:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
qwqwe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 04:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 04:06
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
File name without extension from linux path
PCRE (PHP <7.3)
If given a linux file path match the filename without the extension. It extracts FileNameWithoutExtension into its own match group so that you can use it in things like Logstash Grok.
Submitted by
Chris Magnuson, by combining other peoples starting points
-
8 years ago
2015-09-11 01:54
1
...
516
517
518
519
520
521
522
...
583
Botanical Sciences
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
.
+
?
)
(
\s
)
(
[
A
-
Z
]
.
[
A
-
Z
]
.
,
)
(
\s
)
(
.
+
?
)
(
\s
)
(
[
A
-
Z
]
.
[
A
-
Z
]
.
,
)
(
\s
)
(
.
+
?
)
(
\s
)
(
[
A
-
Z
]
.
[
A
-
Z
]
.
)
(
\s
)
(
and
)
(
\s
)
(
.
+
?
)
(
\s
)
(
[
A
-
Z
]
.
[
A
-
Z
]
.
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-08-22 20:59