I've got a string in Java: Acidum acetylsalic. Acid.ascorb, Calcium which I want to split. The string has to be cut after every space preceded by a dot or colon: ,[space] or .[space]
In result I need three strings: Acidum acetylsalic, Acid.ascorb, Calcium
I know I need some regex and according to this and this I tried "\, |\. " but I doubt that's not how regex work.