Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

replace all dashes to slashes using jquery in a string

x = x.replace(/-/g, '/')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #dashes #slashes #jquery #string
ADD COMMENT
Topic
Name
5+7 =