Hi,
I have a series of html files on which I need to do some group maniuplation. What would be the sed command to find all href's and replace the string with my own string?
For example, replace all occurrences of:
<a href="this string could vary considerably">
with
<a href="
http://www.mydomain.com" title="Call me!">
Note that I can't use a constantt string for the first href because I don't know what will be between the quotes, so I'm guessing it needs some sort of pattern matching.
Thanks!
Start Free Trial