When i create a pattern - Pattern.compile("+:")
to extract the info of the following line
Pattern pattern = Pattern.compile("+:");
String fields[] = pattern.split( "UNB+UNOA:1+KRR+KRR+050313:1257+1+++++KRR");
the line Pattern.compile("+:");
shows dangling meta-character error.
How to fix it?
Thanks.