I have the following String:
"location-string:location-string:location-C?:\string"
which I would like to split into the following three Strings:
location-string location-string location-C?:\string
What should the regex expression be when using String.split(regex)?
Basically, I want to split on colon ':' characters except those that are preceded by a '?' character!
Thanks in advance, PM.