您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页6、常见的匹配

6、常见的匹配

来源:二三娱乐
1、邮箱的匹配
2、ip地址排序

String ip = "192.168.68.23 102.43.46.66 10.2.45.3 2.2.2.2 8.10.22.1"
ip.replaceAll("(\\d+)","00$1");
ip.replaceAll("0(\\d{3})","$1");
String arr[] = ip.split(" ");
arr.sort();
arr.replaceAll("0
(\\d+)","$1")

3、网页爬虫--获取网页的邮箱地址

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务