<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
On Fri, 2008-10-03 at 11:30 -0700, Charles Samuels wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
use preg_replace instead of ereg_replace. Then you can disable greediness the 
Perl way with '?' and the preg_ functions are *much* faster, too!
</PRE>
</BLOCKQUOTE>
Ace, that does EXACTLY what I wanted it to! Many thank yous!<BR>
<BR>
Just a note, preg needs the regex to have /s at the start and end to work.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Christopher Joice<BR>
-<BR>
<A HREF="http://chrisjoice.co.uk">http://chrisjoice.co.uk</A><BR>
-<BR>
&quot;May the forces of evil become confused on the way to your house.&quot;<BR>
-- George Carlin
</TD>
</TR>
</TABLE>
</BODY>
</HTML>