Replace forward slash “/ ” character in JavaScript string?

You need to escape your slash.

/\//g

Leave a Comment