David Turton
David Turton

Reputation: 385

Sublime Text Regex or wildcard

I would like to find all instances of the following in Sublime Text and delete it. I dont need to check the inner text so:

this:

<itembinlist>W323423</itembinlist> or
<itembinlist>W43434</itembinlist>

would match and then deleted.

Any help is appreciated.

Upvotes: 8

Views: 28706

Answers (1)

tenub
tenub

Reputation: 3446

Regex search for <itembinlist>[^<]+</itembinlist>, replace with nothing.

Upvotes: 16

Related Questions