Re: stripping

From: Date: Thu, 10 Apr 2003 23:12:42 +0000
Subject: Re: stripping
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143310@lists.php.net to get a copy of this message
nope, doesn't work. cheers, - Sebastian ----- Original Message ----- From: "Knut H. Hassel Nielsen" <knutnie@idi.ntnu.no> To: "Sebastian" <sebastian@dslr.net> | On Thu, 10 Apr 2003 Sebastian wrote : | | > I tried this: | > $comment = eregi_replace("<blockquote>.*?</blockquote>", "", $comment); | > | > Shouldn't it replace everything inside, including <blockquote> tags? | > | > cheers, | > - Sebastian | | Weeelll | | Not sure, but this should do it : | | $comment = eregi_replace("<blockquote>[^>]*<\/blockquote>","",$comment); |

« previous php.general (#143310) next »