I have written code for removing HTML tags, but it is also removing a type of strings. I want it to not to remove strings like 2<3 or
a type of strings. I want it to not to remove strings like 2<3 or
2<3
Sorry I had not validate enough.
I have checked php5-cli expression below.
(?:<|<)\/?([a-zA-Z]+) *[^<\/]*?(?:>|>)
PHP code goes:
#!/usr/bin/php