- 博客(2)
- 收藏
- 关注
原创 常用sql记录
update 表名 SET 字段名 = REPLACE (字段名, '需要替换的值', '替换后的值') WHERE 字段名 =?update 表名 SET 字段 = CONCAT(字段,'追加的内容') WHERE 字段名 =?
2023-04-21 10:12:05
87
1
原创 内容提取url,只支持(http/https)。获取http/https/短链用正则
String strContent="测试提取内容中的 http://www.baidu.com地址"; String regex = "(http:|https:)//[^[A-Za-z0-9\\._\\?%&+\\-=/#]]*"; Pattern pattern = Pattern.compile(regex); Matcher matcher = pattern.matcher(strContent); S...
2020-05-14 17:05:42
2328
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人