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,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL - use string between last 2 / to form new URL
PCRE (PHP <7.3)
used when saving a site locally This will replace internet links with local ones from the folder you've saved the site in.
Submitted by
anonymous
-
4 years ago
2019-11-01 20:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegEx to remove hyphens between two search and found strings
PCRE (PHP <7.3)
Try a regex based on \G anchor for chaining matches to the desired starting point. (?<=\G(?!^)|clients_field_)(\w*)- Replace with what was captured inside the first capturing group. $1...
Submitted by
anonymous
-
4 years ago
2019-11-01 20:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SYM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-02 22:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SYMS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-02 22:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
22 Jimmy
PCRE (PHP <7.3)
.+\.{a-z}+$
Submitted by
anonymous
-
4 years ago
2019-11-02 22:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
xplane avandro get data
PCRE (PHP <7.3)
get data either by its dataref or by an index used by xplane avandro plugin
Submitted by
anonymous
-
4 years ago
2019-11-02 23:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jimmy script 11-2-19
PCRE (PHP <7.3)
DELETE * FROM albums WHERE YEAR = '2018'...
Submitted by
anonymous
-
4 years ago
2019-11-03 01:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
videobin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-03 05:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML Comment Remover
PCRE (PHP <7.3)
With that you can remove all comentaries from html code
Submitted by
anonymous
-
4 years ago
2019-11-03 08:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE (PHP <7.3)
Regex to group phone numbers.
Submitted by
anonymous
-
4 years ago
2019-11-03 14:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
xplane set value with avandro
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 22:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[DQL] - Comando e Valores
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-04 04:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Stopword liste Voyant til R
PCRE (PHP <7.3)
Opgave 1 - Stopword liste Voyant til R
Submitted by
anonymous
-
4 years ago
2019-11-04 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Stopword liste R til Voyant
PCRE (PHP <7.3)
Opgave 2 - Stopword liste R til Voyant
Submitted by
anonymous
-
4 years ago
2019-11-04 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OS Paths
PCRE (PHP <7.3)
Windows Linux and Web OS Paths checked Regex
Submitted by
anonymous
-
4 years ago
2019-11-04 12:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mongodb_log_locks_v1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 10:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
accurate Base64 validation
PCRE (PHP <7.3)
Invalid entries still can be interpreted, e.g. encode(0xAB) => qw== however invalid encoding qx== still can be correctly decoded: ...
Submitted by
anonymous
-
4 years ago
2019-11-05 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3 digits surrounded by blanks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Adresse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-06 15:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid OAuth scope
PCRE (PHP <7.3)
Validates a common format for OAuth scopes.
Submitted by
anonymous
-
4 years ago
2019-11-06 16:40
1
...
520
521
522
523
524
525
526
...
574
Remove / delete / strip style attribute from html tags
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
\<
(
\w
+
)
\s
[^
>
]
*
?
style=
(
[
\"
|
\'
]
)
.
*
?
\2
\s
?
[^
>
]
*
?
(
\/
?
)
>
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
socialblogsitewebdesign.com
-
8 years ago
2015-07-03 22:32