Exclude files and only allowed doc, pdf files in fess

(from github.com/minhtienhcmus)
I want to setup [Excluded Paths For Crawling] in file system of fess.
I want to Exclude files and only allowed doc, pdf files in fess by ((\.|/)(?!pdf|doc).*$)
but not working !!!
I need to know what to do!!!
thank!!

(from github.com/marevol)
Use “Excluded URLs For Indexing”, not “Excluded URLs For Crawling”.
Your setting removes files other than them including html…