![]() Topic awaiting preservation: PREG_REPLACE and escaping HTML tags (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() I couldn't find this is various searches, and realize I'm probably just not using the right keywords. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Pugzly: This should work: code: $code = preg_replace("(<IMG height=23 src=\"images/printdoc.gif\" width=22 border=0> )si", "", $code);
code: $code = preg_replace("(<IMG height=23 src=\"images/(.*)\" width=22 border=0> )si", "", $code);
code: $code = str_replace("<IMG height=23 src=\"images/printdoc.gif\" width=22 border=0>", "", $code);
|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Pugzly: si are pattern modifiers: |