RE: [PHP] stripping
| From: | Jack Dempsey | Date: | Thu, 10 Apr 2003 13:23:51 +0000 |
| Subject: | RE: [PHP] stripping | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143322@lists.php.net to get a copy of this message | ||
just be careful that you don't match EVERYTHING between the first and last
blockquote tags on the page...that's why in my original regex i have .*?...
> -----Original Message-----
> From: Sebastian [mailto:sebastian@dslr.net]
> Sent: Thursday, April 10, 2003 8:03 PM
> To: php-general@lists.php.net; php-general@gremlins.biz
> Subject: Re: [PHP] stripping
>
>
> thanks Jason, it works.
> Where can I find some info on what the symbols (expressions) mean?
> just wondering so i can look stuff up in the future.
>
> cheers,
> - Sebastian
>
>
> ----- Original Message -----
> From: "Jason Wong" <php-general@gremlins.biz>
>
> | In PHP it would something like:
> |
> | $dah = preg_replace('|<blockquote>.*</blockquote>|sim', '',
> $doo);
> | echo "$dah";
> | ------------------------------------
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>