I am having trouble working out how to do this, I have a string looks something like this...
    $text = "<p>This is some example text This is some example text This is some example text</p>
             <p><em>This is some example text This is some example text This is some example text</em></p>
             <p>This is some example text This is some example text This is some example text</p>";
I basically want to use something like preg_repalce and regex to remove
<em>This is some example text This is some example text This is some example text</em>
So I need to write some PHP code that will search for the opening <em> and closing </em> and delete all text in-between
hope someone can help, Thanks.
 
     
     
     
     
     
    
` elements?
– Gordon Sep 23 '11 at 13:35but thats not an issue
– lukehillonline Sep 23 '11 at 13:39