Hi,
I can think of 2 ways to do this:
1. Use String.split() directly
String[] splitStr = str.split("(?:(?<=\\w) (?==))|(?:(?<==) (?=\"))|(?:(?<=\") (?=\\w))");
I'm not a regex expert,...
Type: Posts; User: jashburn
Hi,
I can think of 2 ways to do this:
1. Use String.split() directly
String[] splitStr = str.split("(?:(?<=\\w) (?==))|(?:(?<==) (?=\"))|(?:(?<=\") (?=\\w))");
I'm not a regex expert,...