$string='<body><form><textarea cols="50" rows="5" name="temp">get me out</textarea></form></body>';
I would like to remove the text(of unknown length) between the textarea tags so that i am left with:
$newstring='<body><form><textarea cols="50" rows="5" name="temp"></textarea>></form></body>';
Whats the best way?
Thanks..