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/'
and get this:
http://www.site.com/file.ext" target=_blank
How to fix?
Thanks,
naflan