Let’s say I have a string “[string1, string2]” and “[string_1, string-2, string.3, string(4)]” I need to convert it to [“string1”, “string2”] and [“string_1”, “string-2”, “string.3”, “string(4)”] using regex, for example in VScode or Intellij using find and replace. How can I do it?
I tried some regex, but none gave me the expected result. At this point, I don’t even know if it is possible.