Jump to content
Killersites Forums

Regex To Extract Content Visible To Webpage Visitor's Browser


saversites
 Share

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...