M
Michael
Hello!
I have the following string Id like to split:
023876:adm;Hansen,Hans-250000*1997
String regexp="[:;,-*]";
givess me an error :
java.util.regex.PatternSyntaxException: Illegal character range near index 5
String regexp="[:;,-\*]";
wont even compile.
How do I express this character class?
Thanks
Michael
I have the following string Id like to split:
023876:adm;Hansen,Hans-250000*1997
String regexp="[:;,-*]";
givess me an error :
java.util.regex.PatternSyntaxException: Illegal character range near index 5
String regexp="[:;,-\*]";
wont even compile.
How do I express this character class?
Thanks
Michael