RE: [PHP] stripping

From: Date: Thu, 10 Apr 2003 06:55:29 +0000
Subject: RE: [PHP] stripping
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143278@lists.php.net to get a copy of this message
just use a regular expression...do a substitution matching a <blockquote>.*?</blockquote> which is case insensitive and doesn't care about line breaks (m modifier)...use an empty string as replacement... jack > -----Original Message----- > From: Sebastian [mailto:sebastian@dslr.net] > Sent: Thursday, April 10, 2003 1:55 PM > To: php list > Subject: [PHP] stripping > > > Hello, > How could i strip out everything inside the <blockquote></blockquote> > including the <blockquote> as well? > > cheers, > - Sebastian > > > [quote] > [b]some text...[/b] > > <blockquote> > <b>some text...</b> > some more text.... > </blockquote> > > some more text.... > [/quote] > > > >

« previous php.general (#143278) next »