I have array as shown below:
["↵", "Oh", "yeah,", "did", "we", "mention", "it’s", "free?↵"]
Is there a way I can remove that ↵ from the string and from the array?I tried
str.replace(/(\r\n|\n|\r)/gm,"");
This didn't help.
Aucun commentaire:
Enregistrer un commentaire