Hi
$str = 'some text <MY_TAG> tag <em>contents </em> </MY_TAG> more text ';
My questions are:
How to retrieve content tag <em>contents </em> which is between <MY_TAG> .. </MY_TAG>?
And
How to remove <MY_TAG> and its contents from $str?
I am using PHP.
Thank you.