/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function removeStyle($string) { $regexp = '@([^;"]+)?(?<!'.$allow.'):(?!\/\/(.+?)\/)((.*?)[^;"]+)(;)?@is'; return $out; }
function removeStyle($string) { $regexp = '@([^;"]+)?(?<!'.$allow.'):(?!\/\/(.+?)\/)((.*?)[^;"]+)(;)?@is'; return $out; }