regex - Removing double quotes and delimiter from a string in Java -


i have string "abc", "def". how can remove double quotes , comma single regular expression.

thanks helping out.

tokenize string , delimiter with

string yourstring = "\"abc\",\"def\""; string[] data = yourstring.split(","); 

and remove quotes substring

for(string s: data){     string somestring = s.substring(1, s.length()-1); } 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -