Answers for "how to replace a space with a dash in the url"

0

replace spaces with dashes

const text = "codetogo saved me tons of time";

text.replace(/ /g, "-");
Posted by: Guest on October-20-2021

Code answers related to "how to replace a space with a dash in the url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language