split with multiple condition in java

Java
String text = "s: saturday, sunday, solar, selfie";
String[] words = text.split("[:,] ");
Source

Also in Java: