strip HTML tags?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CONFIQ
Forum Commoner
Posts: 32
Joined: Fri Oct 18, 2002 3:39 pm
Location: Israel - Raanana

strip HTML tags?

Post by CONFIQ »

Is there a function in PHP so i can strip HTML tags?
Like if i have "bla bla bla <br /><p><br><font>bla bla</font>" to convert to "bla bla bla bla bla"!
Or i need to use PCRE?
Plz don't say me i got to use reg.expressions i'm sooooo weak at reg.exp.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

CONFIQ
Forum Commoner
Posts: 32
Joined: Fri Oct 18, 2002 3:39 pm
Location: Israel - Raanana

Post by CONFIQ »

Thank you... i knew there is such a function :}
Thanks again
Post Reply