Jump to content

Grab title


stefaniv

Recommended Posts

That's a greedy rule. If another </title> tag is found it will take up all the text until it finds it. This might work better: /<title>([^<]+)<\/title>/i What happens when you try your current code anyways?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...