0

I have tried this to remove anything from to tags.

    $contents = "<object>
    fdsfdsfds</object>";

     $contents = preg_replace('#(<object[^>]*>)(.*?)(</object>)#xium', '', $contents);

But it does not work.

Any suggestion? Thanks in advance.

Sean Oh
  • 31
  • 3

0 Answers0