I want replace in my file all tags "<_tag_>" with "".
I've tried this solutions:
$_text = preg_replace('<\_\s*\w.*?\_>', '', $_text);
But I replace "<_tag_>" with "<>"$_text = preg_replace('<\_(.*?)\_>', '', $_text);
But I replace "<_tag_>" with "<>"
How can I also select angle brackets?