Forum Moderators: coopster
/<img[^>]+>/is
/<img[^>]*>/i
/<img[^>]* src=\"([^\"]*)\"[^>]*>/i
/(\<img src=\"\w{0,}\"( ?(\w{0,}=\"\w{0,}\") ?)*\>)/
these are some of the expressions i have been using and the actually code I am using is
preg_replace($regExp, "", $string); [edited by: eelixduppy at 10:37 pm (utc) on Feb. 2, 2009]
[edit reason] disabled smileys [/edit]
$pattern = '/(<¦<)img[^>]+\/>/';
and it worked.
[edited by: eelixduppy at 8:58 pm (utc) on Feb. 17, 2009]
[edit reason] disabled smileys [/edit]