views:

465

answers:

2

I want to search for multiple file types at once. For example, when I want to search for ".htm" files, I add "filetype:htm" to the query and that works fine. Similarly, "filetype:html" also works. However, how can I specify a query parameter that returns all htm AND html files?

+2  A: 

The query prefix filetype: filters the results to include only documents with the specified file extension. No spaces can come between filetype: and the specified extension.

You can specify multiple file types by adding filetype: terms to the search query, combined with the Boolean OR.

Search Protocol Reference

euge1979
A: 

QUERY filetype:html OR filetype:htm

roman m