Crawling only files

(from github.com/Orenvi)
Hi,
Can I crawl only PDF or DOC file from a website?

Oren

(from github.com/marevol)
Set (?i).*(pdf|doc|docx) to Included URLs For Indexing.