perl: preg_match '/<a\s*href/s*=/s*[\'"]?[^<>\'"]+[\'"]?>/i'
or eregi '<a[ ]*href[ ]*=[ ]*[\'"]?[^<>\'"]+[\'"]?>' -- Regards, "Noodle Snacks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > what would be a simple regular expression for <a href="<anythinghere>">? > > for future reference are there any good references for them? > > > -- > JJ Harrison > [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php