I want to split strings with regex java.
for example:
String: (5,4,a)
I want to split two String in following:
5
4,a
if character is numeric after comma character do split
if character is letter after comma character do not split
I use of
[-|,]\\s*[^\\w]
but do no right