What's the best way to check if a String contains a URL in Java/Android?

前端 未结 10 1222
轮回少年
轮回少年 2020-12-02 21:18

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

10条回答
提交回复
热议问题