I have the exact problem described here:
removing Hebrew "niqqud" using r
Have been struggling to remove niqqud ( diacritical signs used to
Just a slight problem with your regex. Try the following:
const input = "הֻסְמַק"; console.log(input) console.log(input.replace(/[\u0591-\u05C7]/g, '')); /* $ node index.js הֻסְמַק הסמק */