Netbeans Multi-line Regular Expression Search

Viewed 7280

I'm trying to search for all the HTML input tags with a type of 'text' inside Netbeans 6.9.

Does Netbeans support searching for string using regular expressions with different search criteria spread across multiple lines or does it only work within a single line?

This regular expression

<input.*type=['"]text['"].*/>

works when the entire tag and its attributes are written in a single line like this

<input name="data[something]" id="some_id" value="some_value" type="text" />

But because I avoid writing long lines of code and break them as such

<input name="data[something]" id="some_id"
       value="some_value" type="text" />

the same regular expression does not work.

Is there a way this could be achieved?

1 Answers
Related