Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
javascript replace doublequote with empty string
Sanjar Igamov
Programming language:
Javascript
2021-06-12 03:45:01
0
Q:
javascript replace doublequote with empty string
Svetlana
Code:
Javascript
2021-05-02 11:29:48
const anyStr = 'Friend ... "OK" ... foo' const formattedString = anyStr.replace(/["]/g, "\\"")
0
Tags
string
javascript
empty
replace
script
Related
remove all spaces from a string javascript
javascript remove duplicate letters in a string
replace multiple spaces with single space javascript
js replace space with underscore
replacing each space in a string javascript
javascript replace without replace()
javascript replace multiple spaces with single space
site:stackoverflow.com javascript replace multiple spaces with single space
javascript replace all spaces with dashes
replace all spaces with dash in javascript
remove double slash from url javascript
javascript detect space in string
changing double space to single in java script
javascript replace two spaces with one
js replace all spaces
javascript replace spaces with dashes
replace white spaces javascript
javascript replace spaces with nbsp
New to Communities?
Join the community