public class Main
{
public static void main
(String[]args
) {
String s
= "The#red#studio#502#4"; // String[] array = s.split("#(?=[0-9])");
String[]array
= s.
split("#\\d"); {
System.
out.
println(str.
replace('#',
' ')); }
}
}
cHVibGljIGNsYXNzIE1haW4KewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW11hcmdzKQogICAgewogICAgICAgIFN0cmluZyBzPSAiVGhlI3JlZCNzdHVkaW8jNTAyIzQiOwogICAgICAgLy8gU3RyaW5nW10gYXJyYXkgPSBzLnNwbGl0KCIjKD89WzAtOV0pIik7CiAgICAgICAgU3RyaW5nW11hcnJheSA9IHMuc3BsaXQoIiNcXGQiKTsKICAgICAgICBmb3IoU3RyaW5nIHN0ciA6IGFycmF5KQogICAgICAgIHsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHN0ci5yZXBsYWNlKCcjJywnICcpKTsKICAgICAgICB9CiAgICB9Cn0=