我有一些包含多个标点符号的文本文件,所以我需要将它们减少为单个标点符号。
这是一些示例文本:
They are working in London..... he is a Java developer !!!!! they are playing------ She is working_______
这是所需的输出:
They are working in London.he is a Java developer !they are playing- She is working_
我需要一些有关 Java 正则表达式的帮助。
谢谢