I am trying to remove a specific word from a JSON file.
I have this to remove special characters like : , {} []
JSON.stringify(csv, null, 2).replace(
/[!@#$^&%*()+=[\]/{}|:<>?,.\\-]/g,
'',
),
but then there is the word "data", how can I add that word to be removed from the string in that regex above?
And also I would like to remove the "" around the strings.
Like "hola" I want it to be only hola