Reputation: 17893
I am trying to search a string in eclipse.
<input type="text" autocomplete="off" />
<input type="text" sacsacdfsre />
I want to search all input elements of type text and exclude elements with autocomplete.
Search input and text and exclude autocomplete
I am trying
input.*text.*^(autocomplete)
how can we solve this.
Upvotes: 1
Views: 868
Reputation: 4795
Try something like this:
<input[^>]+type="text"(?![^>]*autocomplete).*?>
Upvotes: 1