摘要: 示例:长链接:https://www.baidu.com?a=1&b=2 域名:www.baidu.com static String getDomainUrl(String url) { String domainUrl = ""; Pattern p = Pattern.compile("(?< 阅读全文
posted @ 2017-04-10 20:25 ppjj 阅读(500) 评论(0) 推荐(0) 编辑