Reputation: 8695
I have a list of the 50 states a la
Alabama
Alaska
Arizona
I would like to wrap each individual line with an anchor tag. Is this possible to do all at once? I see that there's a surround with in VS but not for each individual line. I'm using Visual Studio 2010 but any program that could be used would be fine.
So I would like each line to be wrapped something akin to
<a href="#" id="stateName">StateName</a>
Upvotes: 0
Views: 146
Reputation: 15144
="<a href=""#"" id=""" & A1 & """>" & A1 & "</a>"
Upvotes: 0
Reputation: 1537
You may want to have a look at Ala Shibans Multi Editing Extension, which allows you to work with multiple cursors at once.
I stole an animated GIF from Scott Hanselmans Blog:
Upvotes: 1