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
The most efficient way of checking that the domain name is well formed and contains (or not) a prefix, is using a regular expression.
Check out Java Pattern to match regex in Android. It is worth it.