2013-11-21 67 views
0

我正在嘗試在eclipse中搜索字符串。Eclipse通過排除某些部分來搜索字符串

<input type="text" autocomplete="off" /> 

<input type="text" sacsacdfsre /> 

我想要搜索所有類型爲text的輸入元素並排除具有自動完成功能的元素。

Search input and text and exclude autocomplete 

我想

input.*text.*^(autocomplete) 

我們如何才能解決這個問題。

+0

我認爲你需要[瞭解正則表達式(http://regex.learncodethehardway.org/book/)爲把''^在這種情況下,在你的表達中間沒有任何意義。 – HamZa

+0

@HamZa。謝謝。你能告訴我我在這裏使用了什麼嗎? – Patan

+0

是的,我可以但你什麼時候學習?我會給你一個開始,這取決於你做得更好['])+>'](http:/ /regex101.com/r/nI8bD6) – HamZa

回答