Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
href=[\"\'](http:\/\/|\.\/|\/)?\w+(\.\w+)*(\/\w+(\.\w+)?)*(\/|\?\w*=\w*(&\w*=\w*)*)?[\"\']
|
Description |
I wrote up this regular expression to fetch the href attribute found in <a> tags as well as a few other HTML tags.
|
Matches |
href="www.yahoo.com" | href="http://localhost/blah/" | href="eek"
|
Non-Matches |
href="" | href=eek | href="bad example"
|
Author |
Rating:
Andrew Lee
|
Displaying page
of
pages;
Items to