the html like this:
"[font color="#FF0000"]test [font color="#FF0000"]Hello world[/font][/font]"
I want to replace the font tag the result like this:
test Hello world
thanks you
the html like this:
"[font color="#FF0000"]test [font color="#FF0000"]Hello world[/font][/font]"
I want to replace the font tag the result like this:
test Hello world
thanks you
If you want to remove html and only want text USE
string = "<font color='#FF0000'>test <font color='#FF0000'>Hello world</font></font>"
strip_tags(string)