I need to split a String with dot '.' but with one catch as explained below For example, if a String is like this
String str = "A.B.C"
then, splitting with dot, will give A,B and C.
But if the some part is marked with single inverted comma, then split should ignore it
String str = "A.B.'C.D'"
then, splitting with dot, should give A,B and C.D.
How can I achieve this?