Answers for "regular expression to remove underscore from a string javascript"

0

regular expression to remove underscore from a string javascript

var str = "Yeah_so_many_underscores here";
var newStr = str.replace(/_/g, "");
alert(newStr);
Posted by: Guest on June-19-2021

Code answers related to "regular expression to remove underscore from a string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language