What Is The Regex To Deal With Html Tags ?

By phprepublican ·
Php Folks,

What is the regex to extract the title, meta keywords, meta descriptions and the content text (without all the tags such as html tags, dhtml tags, xml tags, javascript tags, etc.) ?

I actually, prefer one regex to extract title, another to extract meta keywords, another to extract meta descriptions and finally another to extract the content text.

That way, I can make use of each separately when I don't want to extract all (title, description, etc.).

If you know of php functions, other than regex that do what I want, then say so by writing: OFF TOPIC.

Thanks for your help!

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Web Development Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums