sed and html
Trying to use sed to get this:
http://www.site.com/file.ext out of this: <a href="http://www.site.com/file.ext" "target=_blank"> I am using this: Code:
sed -e 's/^.*href="\(.*\)".*$/ \1/' http://www.site.com/file.ext" target=_blank How to fix? Thanks, naflan |
Code:
sed -e 's/^.*href="\(.*\)" ".*$/ \1/' html.txt Cheers, Tink |
All times are GMT -5. The time now is 04:06 AM. |