![]() Preserved Topic: replace all images preg_replace (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: San Jose, CA |
![]() ok, this might be easy for you guys, |
Bipolar (III) Inmate From: |
![]() I guess that the easiest and most accurate way to do this would be to load $content as an xml document (assuming that the html is well formed and conforms to xhtml standards) and delete any img nodes from there |
Paranoid (IV) Inmate From: Lebanon |
![]() your regular expression for removing the <img> tag is: <img[^>]+> |