String newString = oldString.replaceAll(textToHighlight, "<font color='red'>"+textToHighlight+"</font>"); textView.setText(Html.fromHtml(newString));