Post #35 67 May 17, 2021, 10:23 UTC Разделить строку в Java и сохранить разделители https://www.baeldung.com/java-split-string-keep-delimiters Baeldung Split a String in Java and Keep the Delimiters | Baeldung Learn how to split a string in such a way that the delimiters are part of the result