Have been looking all over the place for this. Suppose I have a block of XML like this:
<leftcol>
<block icon="tips" text="Is it right for you?" url="/support/feasibility.html" link="Feasibility evaluation"/>
<block icon="question" text="Interested?" url="/support/question.html" link="Ask a question"/>
<block icon="docs" text="Want some details?" url="/docs/" link="View documentation"/>
<block icon="box" text="Like It?" url="/purchase.html" link="Purchase online"/>
</leftcol>
And I want to use Vim to quickly jump to (or delete) attributes and their values. What would be a good regex to do this?
I tried the obvious / .*=".*?"
but it's too greedy -- if I have two attributes on the same line, it selects them both.
Any help would be much appreciated. I'm specifically looking for a regex and not a plugin.