Jump to content

Recommended Posts

Posted (edited)

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!

Edited by saversites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...