@ 6:42:33 AM on 9/5/01, * R&zE: wrote:

> This regex gets you everything between all <A> and </A> tags. Case
> insensitive, including embedded HTML-tags etc. Try it and let me
> know if this is what you need.

> --- PHP code ---
> preg_match_all ("/<a[^>]*>(.+)<\/a>/imU", $StringToSearch, $matches);
> print_r ($matches);
> --- End of PHP code ---

Another option would be to use Snoopy's fetchlinks():


It's not perfect though..

 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to