Not able to check it on my machine, but wouldn't a /s be helpful here to be able to pass over the newlines?
print if s/.*a href="(.*)".*/$1/s;In reply to Re^5: REGEX for url
by ExReg
in thread REGEX for url
by wrkrbeee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |