Entfernen Sie quadratische Klammern von String JavaScript
//Use this regular expression to match square brackets or single quotes:
/[\[\]']+/g
//Replace with the empty string.
"['abc','xyz']".replace(/[\[\]']+/g,'')
Vivacious Vendace