What\'s the best way to check if a String contains a URL in Java/Android? Would the best way be to check if the string contains |.com | .net | .org | .info | .everythingelse
You need to use URLUtil isNetworkUrl(url) or isValidUrl(url)
isNetworkUrl(url)
isValidUrl(url)