Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
regex replace /
user9749094
Programming language:
Whatever
2021-07-04 08:11:04
0
Q:
regex replace /
Hadzher
Code:
Whatever
2021-09-07 08:25:44
// replaces all / in a String with _ str = str.replace(/\//g,'_');
0
Tags
replace
Related
whitespace regex
regex negate
regex ignore spaces
multiple replace
New to Communities?
Join the community