Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 968
David Turton Avatar asked Jan 27 '14 17:01

David Turton


1 Answers

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

like image 95
tenub Avatar answered Sep 24 '22 14:09

tenub