Do you know how to replace html tags with a space character using php?
If I display
strip_tags(\'Foo
bar\');
With the Regex solution preg_replace('/<[^>]*>/', ' ', $str), it's not gonna work if you have event attributes like this:
You need to do one more replacement:
Hello!\">Hi.Hope it helps!