My JSON string is:
{name:\"MyNode\", width:200, height:100}
I want to change it to:
{name:\"MyNode\", width:\"200\", height
If you must operate on the JSON string :
json = json.replace (/:(\d+)([,\}])/g, ':"$1"$2');