Hi
i use this to get all html tags out of an string ..
preg_match_all('/<[>]*>|[<>]+/', $data, $contentParts);
worked wonderful till i noticed that this doesent work with something like
"{if $commandCount > 0}"
this will be split in 2 parts:
"{if $commandCount " and " 0}"
and the < is gone
It shouldnt split anyway when it detects an " < " or ">=" or " <=" and so on..
can anybody solve this?