Regex To Extract Content Visible To Webpage Visitor's Browser

By phprepublican ·
Php Folks,

What is the regex to extract the content of a webpage that is visible to the user in his browser no matter what is visible to the web crawler (searchengine spider or bot)?
That means, it should ignore the following and not extract these tags or any data inbetween these tags excluding the <body> & </body> tags as including that in the filter would render the data extraction useless:

title tags
meta keywords
meta keywords tags
meta descriptions
meta descriptions tags
html tags
dhtml tags
xml tags
javascript tags,
etc. tags.

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!
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