T
Tunga Torgal
Hi all,
I want to parse a string like this :
ali veli "49 50" "naber lan" deneme
It should return this substrings:
1. ali
2. veli
3. 49 50
4. naber lan
5. deneme
Actually, it is a problem of parsing quotation marks...
For this, I use this regex : (?<=").+(?=")|[^\s"]+
But, it returns
1. ali
2. veli
3. 49 50" "naber lan
4. deneme
How can I solve this problem...
thanks in advance...
I want to parse a string like this :
ali veli "49 50" "naber lan" deneme
It should return this substrings:
1. ali
2. veli
3. 49 50
4. naber lan
5. deneme
Actually, it is a problem of parsing quotation marks...
For this, I use this regex : (?<=").+(?=")|[^\s"]+
But, it returns
1. ali
2. veli
3. 49 50" "naber lan
4. deneme
How can I solve this problem...
thanks in advance...