Removing Double Quotes from a String in Java [Closed]
How Would I Remove Double Quotes from a String? for Example: I Would Expect "Abd to Produce Abd, Without the Double Quote. Here's the Code I've Tried: Line1 =...
How would I remove double quotes from a String?
For example: I would expect "abd to produce abd, without the double quote.
Here's the code I've tried:
line1 = line1.replaceAll("\"(\\b[^\"]+|\\s+)?\"(\\b[^\"]+\\b)?\"([^\"]+\\b|\\s+)?\"","\"$1$2$3\"");