<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/06/2010 3:39 PM, Jamie Holly wrote:
<blockquote cite="mid:4C113F67.8060902@earthlink.net" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
$text= preg_replace('/&lt;script.*?&lt;\/script&gt;/xmsi', '', $text)
should do the trick.<br>
</blockquote>
Might also consider filter_xss($string, array());<br>
<br>
--Andrew<br>
</body>
</html>