Pakistan has suffered from a series of recent attacks blamed on al-Qaida and Taliban militants operating in the country 's tribal regions .