This discussion is archived
9 Replies Latest reply: Feb 17, 2010 2:37 PM by 807580 RSS

regex for splitting a string

807580 Newbie
Currently Being Moderated
String str[] = "(ab)20kVp,(abc)30MVp,(cd)3mVp,(de)25GVp".split("\\(");
the sting above,
other than splitting "(" and attach "(",
how to split it null string(I mean zero length character) only followed by letter(s) like,


Thanks in advance.