How can I know that some text contain \"http://www.\" I want to show domain in Web View. Domain name is written in TextView but there is no restriction to add prefix. If user di
I would just get the text from the TextView and parse it via startsWith(). If this is false, just add it to the text and use setText() to reasign it.
You might also want to check for other expressions like only "www.". So take a closer look at contains().