Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
javascript remove quotes from string
moodking
Programming language:
Javascript
2021-06-09 06:24:08
0
Q:
javascript remove quotes from string
Undying_War
Code:
Javascript
2021-04-21 05:54:42
var
someStr =
'He said "Hello, my name is Foo"'
;
console
.log(someStr.replace(
/['"]+/g
,
''
));
1
Tags
string
javascript
remove
script
Related
javascript remove characters from beginning of string
removed spaces in string js
javascript remove line breaks from string
js remove space from string
remove special characters from string javascript
delete backspace on string js
remove character from string javascript
remove whitespace from string javascript
javascript remove specific character from string
remove space from string javascript
remove extra space in string js
remover ultimo character string javascript
remove extra space in string javascript
how to remove spaces from strings javascript
remove spaces in a string js
javascript remove character from string
javascript remove text from string
javascript remove space from string
New to Communities?
Join the community