extracting sentence from selection