Javascript Regex: Replacing multiple words with a space for all occurrences? -


How do I change the space of double quotes and single quotes with a space with javascript regex?

  var stripped = mystring.replace (/ ['' '] / g, "") ;  

Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -