SearchLinks
A variant of a filter Search for searching the links to images.
Parameters:
| Name | Type, value | Description |
|---|---|---|
| pattern | Regular expression, default #.# | A filter for the links selection |
| name | String, default links | The name of the variable for result |
| all | Boolean: true, false; default true | To search for one entry or all of them |
Example:
Set html <a\ href="index.html">Main</a><a\ href="page1.html">1</a><a\ href="page2.html">2</a> # Search for pager links # URLs will be translated to absolute # For example we process page http://site.com/catalog/index.html Filter SearchLinks html WithParams pattern=#page\d+\.html$# name=pages # Show the result Dump pages
Result:
pages => http://site.com/catalog/page1.html pages => http://site.com/catalog/page2.html
| SearchInDOM | Standart Filters | StripTags |

