Re: regular expression
| From: | Noodle Snacks | Date: | Tue, 15 Oct 2002 11:32:59 +0000 |
| Subject: | Re: regular expression | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120005@lists.php.net to get a copy of this message | ||
Thanks.
"Ns_andy" <ns_andy@yahoo.com> wrote in message
news:20021015112831.95175.qmail@pb1.pair.com...
> perl: preg_match
> '/<a\s*href/s*=/s*[\'"]?[^<>\'"]+[\'"]?>/i'
>
> or eregi
> '<a[ ]*href[ ]*=[ ]*[\'"]?[^<>\'"]+[\'"]?>'
>
>
> --
> Regards,
>
> "Noodle Snacks" <webmaster@tececo.com> wrote in message
news:20021015112111.89352.qmail@pb1.pair.com...
> > what would be a simple regular expression for <a
> > href="<anythinghere>">?
> >
> > for future reference are there any good references for them?
> >
> >
> > --
> > JJ Harrison
> > lizner2002@yahoo.com.au
> >
> >
>
>