Categories
How to replace UTF-8 character?
How to replace ♥ with "a" using str.replace?
Answer the question
In order to leave comments, you need to log in
"♥ ♥ ♥".replace(/♥/g, 'a')
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question