Regular Expressions...
| From: | Tony Arnold | Date: | Fri, 18 Jan 2002 14:09:53 +0000 |
| Subject: | Regular Expressions... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81074@lists.php.net to get a copy of this message | ||
Howdy people... I want to extract the name of a hyperlink which looks like
this:
<a href="">this is the name!</a>
I tried to do this:
ereg(">([a-zA-Z0-9_. -]*)<",$hlink, $reg3);
and it works if it only consists of the above characters, how can I tell
ereg to include all characters? not only "a-zA-Z0-9_. -".
/ Tony...