I would like to replace strings outside of quotes using str.replaceAll in Java but to leave words inside quotes untouched
If I replaced Apple with Pie:
Input: Apple "Apple"
Desired Output: Pie "Apple"
Note the words inside quotes were untouched
How would this be done? All help Appreciated!
Aucun commentaire:
Enregistrer un commentaire