正则表达式,如果不匹配以分号结尾的数据,例如...

2025-04-30 07:26:37
推荐回答(1个)
回答1:

Pattern p=Pattern.compile("\\w+(?![^;\\s]*;)",Pattern.DOTALL)