So given the string: '"Something's got to go"'
What's the proper way to remove only the surrounding single quotes? So the end result should be: "Something's got to go"
notice the lack of surrounding single quotes.
I have attempted: replace(/^'|'$/g, '"')
but alas this does not do the trick for me.
Expected Result:
The following: '"Something's got to go"'
Should become: "Something's got to go"