Parsing HTML tags
| From: | Chris Empson | Date: | Fri, 13 Apr 2001 14:44:37 +0000 |
| Subject: | Parsing HTML tags | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48442@lists.php.net to get a copy of this message | ||
Could anyone tell me how to extract a string from between a pair of HTML
tags?
Specifically, I would like to extract the page title from between the
<title> and </title> tags. I have read the regular expression docs and I'm
still a bit stuck.
Can anyone help?
Thanks in advance,
Chris Empson
C.J.Empson@chem.hull.ac.uk