Answers for "how to replace all non numeric characters and + from string js"

0

javascript replace all characters except letters and numbers

str.replace(/[^A-Za-z0-9]/g, "-")
Posted by: Guest on June-09-2021
0

how to replace non alpha numeric characters in javascript

text.replace(/[\W_]+/g," ");
Posted by: Guest on March-29-2020

Code answers related to "how to replace all non numeric characters and + from string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language