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...
1
Match HTML img elements with URL source
PCRE (PHP <7.3)
Matches all img tags that have a URL for the src attribute. Useful for updating all those links in your email templates, or where ever your using the \ tag
Submitted by
Doom87er
-
7 years ago
0
Syslog RFC 5424
PCRE (PHP <7.3)
RFC 5424 (https://tools.ietf.org/html/rfc5424) parser
Submitted by
pstefka
-
7 years ago
0
Simple lookahead
PCRE (PHP <7.3)
https://docs.racket-lang.org/guide/Looking_Ahead_and_Behind.html
Submitted by
anonymous
-
7 years ago
1
CMSC320 NASA Dirty Table Regex
PCRE (PHP <7.3)
https://cdaw.gsfc.nasa.gov/CME_list/radio/waves_type2.html
Submitted by
anonymous
-
8 years ago
0
RFC-5322 3.4 Compliant Email Pattern
Python
This is a minimal RCF-5322 section 3.4 compliant address pattern.
Submitted by
anonymous
-
8 years ago
0
Remove all <php tags from html file
PCRE (PHP <7.3)
This regex is helpful to remove all tags
Submitted by
anonymous
-
8 years ago
0
Remove <style>,<script> and inline styles from HTML
ECMAScript (JavaScript)
Easy remove any , tag and inline styles for clean code
Submitted by
Patryk Padus
-
8 years ago
(Last modified 2 years ago)
0
Script Tag in html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
regex to find all types of youtube occurences in html
PCRE (PHP <7.3)
this will find any type of youtube embed or link to a video so you can replace with your own IFRAME $youtube_replacement = '';
Submitted by
anonymous
-
8 years ago
1
Require string of length Ignoring HTML
PCRE (PHP <7.3)
checks for a continuous string of characters (in this case 7) , but ignores HTML tags we use it in a required feild validator that has auto generated formatting elements
Submitted by
Doom87er
-
8 years ago
0
Mustache Language parser regexp
ECMAScript (JavaScript)
Useful for parsing HTML templates written in mustache language. This regex does not support custom delimiter tags. For documentation see: http://mustache.github.io/mustache.5.html
Submitted by
anonymous
-
8 years ago
0
Универсальная регулярка для выпаршивания полного стека логических операторов шаблонизатора HTML.
PCRE (PHP <7.3)
no description available
Submitted by
Yuriy Esin (Exomode)
-
8 years ago
0
PFITS Comments Strip HTML Tags
Python
Final version used in script.
Submitted by
Landon Sutherland
-
8 years ago
0
Regular expression in PHP to return array with all images from html
PCRE (PHP <7.3)
Example: preg_match_all('//', '', $arr, PREG_PATTERN_ORDER); Returns:...
Submitted by
anonymous
-
8 years ago
0
Replace HTML Tags (H1)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Between two characters: Good for HTML or CSS inline style height/width
PCRE (PHP <7.3)
This matches content between two characters ie. height: 400px; matches between : and ;
Submitted by
anonymous
-
8 years ago
0
Clean Class html file step3
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Clean Class html file step1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Remove spaces between HTML elements
ECMAScript (JavaScript)
no description available
Submitted by
Jacobo de Haro
-
8 years ago
0
Get top and left style elements from html style attribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
14
15
16
17
18
...
27