preg_replace


1 reply [Last post]
GrayS
Offline
Joined: 11/22/2010

This first row is replaced but not the other..
[PHP]preg_replace("/(.*)<\/item>/", "$1", $content);[/PHP]

[HTML]content

content
[/HTML]

How do make both of them replaced