I want cut out everything inside (tags included) from text, for ex:
[url=http://xxx.com]something[/url]
but with one condition, inside of [url]
tag there would be [img]
tag.
So final sentence to cut:
[url=http://xxx.com]anything[img]something[/url]
can anyone help? im bad with regular expressions, or there is easier way?