He said President Karzai told him officials from Afghanistan and Pakistan have been meeting to discuss how to deal with extremists who are targeting both their countries .