随笔分类 -  正则表达式

正则匹配大括号和大括号中的内容
摘要:str.replaceAll("\\{[^\\}]+\\}","中国") 阅读全文
posted @ 2018-07-13 14:37 SuperTan 阅读(381) 评论(0) 推荐(0)