Since this is an OR filter, you need to put the criteria in the same row. It should look like the following:
Sheet2
Column B Column C
1 Heading Heading
2 <>*.doc <>*.pdf
Here's an excellent post on advanced filters: http://searchengineland.com/advanced-filters-excels-amazing-alternative-to-regex-143680.