Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 540 community submitted regex patterns...
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
10 years ago
0
Get specific <span> tag
PCRE (PHP <7.3)
Get an specific html tag and return his content
Submitted by
Ivan Milazzotti
-
10 years ago
1
URL parser also with shorthand syntax
Python
mail.google.com google.it www.mega.co/ http://www.google.it mail.google.uk/login/auth.html ftp://docs.python.org:54/login/...
Submitted by
fine_dust
-
10 years ago
0
Remove / delete / strip style attribute from html tags
PCRE (PHP <7.3)
This one removes ALL attributes if "style" is found. See my other expression to only remove the style.
Submitted by
socialblogsitewebdesign.com
-
10 years ago
1
convert text to link
PCRE (PHP <7.3)
convert link of filtered text to html tag link
Submitted by
Masoud tavakolian
-
10 years ago
0
Machine readable passport number (second line)
ECMAScript (JavaScript)
Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html
Submitted by
Leigh Garland
-
10 years ago
0
Get attributes values of html tags
PCRE (PHP <7.3)
Allow get the value of the some attributes from a html text
Submitted by
Marcelo Fuentes
-
10 years ago
-2
HTML <script> regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Remove XML-Style Comments (JavaScript)
ECMAScript (JavaScript)
Exist a problem with simple regex in JS Solution from: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch09s10.html
Submitted by
Arkadiusz Sawicz
-
10 years ago
0
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
10 years ago
1
ms internet explorer vesion <= 8
PCRE (PHP <7.3)
Check version of internet explorer - if is it usable for html5 support etc.
Submitted by
tomish.net
-
10 years ago
1
Shortcode_filter
PCRE (PHP <7.3)
CLeans your HTML code from shortcodes and images :)
Submitted by
Colta Victor
-
10 years ago
-2
match all html tags
PCRE (PHP <7.3)
http://haacked.com/archive/2004/10/25/usingregularexpressionstomatchhtml.aspx/
Submitted by
anonymous
-
10 years ago
1
any tag
PCRE (PHP <7.3)
regex used to search for any tag (both html and xml)
Submitted by
dasmi
-
10 years ago
1
Email
PCRE (PHP <7.3)
Regex for generic email (Not validation on ending in .com, .org etc.)
Submitted by
http://www.regular-expressions.info/email.html
-
10 years ago
-2
march html tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
html-link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
html-link-2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Clean empty tags from HTML tags incl. tags containing space(s)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
HTML Tag Filtering
PCRE (PHP <7.3)
no description available
Submitted by
Mohammed Yehia
-
10 years ago
1
...
4
5
6
7
8
...
27