Evaluate the selected text after matching