Quantcast
Channel: BlogoSfera » comma
Viewing all articles
Browse latest Browse all 12

Split String Using comma but ignore comma if it is brackets or quotes

$
0
0

Seen very examples but i am not getting correct result as expected -> String i am getting "manikanta, Santhosh, ramakrishna(mani, santhosh), tester" Now i want to get the String array as below manikanta, Santhosh, ramakrishna(mani, santhosh), tester I got the below one from some other example /(\".*?\"|[^\",\\s]+)(?=\\s*,|\\s*$)/g

The post Split String Using comma but ignore comma if it is brackets or quotes appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 12

Trending Articles