![]() |
|
|
+ Search |
![]()
|
Apr 18th, 2007 00:30
mohd jaffry d jalal, Timon -, http://www.regular-expressions.info/
This regex pattern helped me strip img tags from a html source -
<img[^<>]+>
In PHP, you could implement it like so -
preg_match_all("<img[^<>]+>", $myHTMLsource, $arrayToSaveMatchesIn);