$search = array('@<script[^>]*?>.*?</script>@si',  // Strip out
javascript
              '@<style[^>]*?>.*?</style>@siU',    // Strip style tags properly
              '@<[\/\!]*?[^<>]*?>@si',            // Strip out HTML tags
              '@<![\s\S]*?--[ \t\n\r]*>@' 

Multihightliter problems with this code. it find ?> character in the quouted
string and treats it as and of the php code.

if switched to php highlighter everything works fine.

-- 
<http://forum.pspad.com/read.php?6,45119,45205>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem