I was interested in stripping the content between the tags too though. the content 
between the tags is allways 18 char so I did this.

   $article_body = ereg_replace("<image+>.{18}</image> ", '', $article_body);

that seemed to work. oi, regex is bad stuff, haha.


-- 

 Chris Lee
 [EMAIL PROTECTED]



"Christian Reiniger" <[EMAIL PROTECTED]> wrote in message 
01040320291201.00590@chrisbig">news:01040320291201.00590@chrisbig...
On Tuesday 03 April 2001 17:57, you wrote:
> I have this
>
> <image>...</image>
> or
> <image left>...</image>
> or
> <image right>...</image>
> or
> <image top>...</image>
>
> I want to strip the all that out of my text. I havent a clue about
> regex, I wish I did. could I get some insight, even a site to learn a
> little more. ? thanks

use strip_tags()


-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

CPU not found. retry, abort, ignore?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to