Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace spaces with dashes

title = title.replace(/s/g , "-");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #replace #spaces #dashes
ADD COMMENT
Topic
Name
7+1 =