Regular expression and text in HTML document

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
ngolehung84
Forum Newbie
Posts: 6
Joined: Tue Jan 30, 2007 8:45 am

Regular expression and text in HTML document

Post by ngolehung84 »

Hi,
I have the situation as follow:

I have the HTML document, now I must search a "text" in that HTML document. The text here means only texts outside the HTML tags. I thinked about the regular expression but unfortunately, I can't find out that REG EX.
Can you help me?

Thanks,
Hung.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply