Security forces said Wednesday they captured Taliban commander Sher Mohammad Qasab in the Swat Valley .