The text of the two EditTexts ("Find what" and "Replace with") is the same but formatted differently (Tab). So the new text will be bad formatted.