In VIM, if, for example, I have the text
is it possible to find all lines (the whole line) and replace it with something before and after it, such as:
<a href="http://a.com">http://a.com</a> <a href="http://b.com">http://b.com</a>
Note that the text from every line is repeated. Once for the href and another for the text.