strip selected text before processing