Page 1 of 1

extract text from html

Posted: Sun Oct 15, 2006 4:18 pm
by pedrotuga
That's what i want to do. take away all the html and get only the text.
how do i do this?
aparently there is no function to this this.. at least i had a look at html_* funtions and didnt find any.
Any library, script or anything out here?

i wouldn't like to handcode it, my skills on regex are almost inexistent.

Re: extract text from html

Posted: Sun Oct 15, 2006 4:33 pm
by volka
pedrotuga wrote:aparently there is no function to this this.. at least i had a look at html_* funtions and didnt find any.
it's called strip_tags