replace all occurrences of double quotes in a string javascript

by Ramya 2010-11-04 16:30:57

Replace all occurrences of double quotes in a string javascript:

To Replace all occurrences of double quotes in a string javascript, use regular expression as,
var dquot = str.replace(/"/g, "");

Tagged in:

1362
like
1
dislike
0
mail
flag

You must LOGIN to add comments