Tens of thousands of Pakistani forces have been deployed in the region to search for foreign militants .