Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
<a[\s]+[^>]*?href[\s]?=[\s\"\']+(.*?)[\"\']+.*?>([^<]+|.*?)?<\/a>
|
Description |
This regex will extract the link and the link title for every a href in HTML source. Useful for crawling sites.
Note that this pattern will also allow for links that are spread over multiple lines.
|
Matches |
<a href='http://www.regexlib.com'>Text</a> | <a href="...">Text</a>
|
Non-Matches |
all other html tags
|
Author |
Rating:
Not yet rated.
Jacek Sompel
|
Displaying page
of
pages;
Items to