I wanted to replace
<strong>abc</strong>
to this
<strong>abc</strong>
PHP
preg_replace('/(<strong>(.*?)</strong>)/', '<strong>\\2</strong>', $input)
Give an error
Warning: preg_replace(): Unknown modifier 't' in D:\xampp\htdocs\myquestion\p\method.php on line 94
I'm newbie about regex please help. Many thanks.