-1

From API I receive a string which contains HTML Symbols, example:

'Which of these is not a DLC vehicle in "Mario Kart 8"?'

Is there a way to parse a string in Javascript/Node.JS so that all these symbols get replaced with normal ones?

HTML Entity Decode this question can't help as solutions there are connected with browser-purposed JS

aetrnm
  • 402
  • 3
  • 13

1 Answers1

-1

this is answer

JSON.parse(data.replace(/"/g,'"'));
mhhabibi
  • 45
  • 7