Here's the scenario
There are a list of codes seperated by "comma" like so:
codes: "Code1 code2 F/UN=\"value1 value2\" code3 code4"
Now I need to split this string such that i get all the list of codes into an array of somekind,i.e. the elements of the array should be
[0]: Code1
[1]: Code2
[2]: F/UN=\"value1 value2\"
[3]: code3
[4]: code4
i.e, i require to find a regular expression such that we
can split on the basis of those spaces which are not part of quotes.
Can you please help me resolve this issue.
Thanks & Regards
arjun