Displaying page
of
pages;
Items to
Title |
Test
Details
Manage img
|
Expression |
<img[\s]+[^>]*?((alt*?[\s]?=[\s\"\']+(.*?)[\"\']+.*?)|(src*?[\s]?=[\s\"\']+(.*?)[\"\']+.*?))((src*?[\s]?=[\s\"\']+(.*?)[\"\']+.*?>)|(alt*?[\s]?=[\s\"\']+(.*?)[\"\']+.*?>)|>)
|
Description |
This pattern can intercept img like < img src="src1" alt="alt1"> or < img alt="alt1" src="src1"> or < img src="src1"> or < img src="src1" width=3 height=4> then values of src can be found in $5 or $8, the value of tag alt can be found in $3 or $10.
|
Matches |
< img src="src 1" alt="alt 1"> or < img src="src 2"> or < img src="src 3" alt="alt 3" width=2 height=3>
|
Non-Matches |
any other tag
|
Author |
Rating:
Cordisco Massimo
|
Title |
Test
Details
Grab tag meta from web pages
|
Expression |
<meta[\s]+[^>]*?name[\s]?=[\s\"\']+(.*?)[\s\"\']+content[\s]?=[\s\"\']+(.*?)[\"\']+.*?>
|
Description |
This pattern intercept meta tags, the name can be found in $1 the content value in $2.
|
Matches |
<meta name="Author" content="xxxxxx"> <meta name="description" content="xxxxxxxxx"> <meta name="keywords" content="xxxxxxxxx"> <meta name="country" content="IT">
|
Non-Matches |
any other tags
|
Author |
Rating:
Cordisco Massimo
|
Displaying page
of
pages;
Items to