Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove quotes using regex

if (str.charAt(0) === '"' && str.charAt(str.length -1) === '"')
{
    console.log(str.substr(1,str.length -2));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #quotes #regex
ADD COMMENT
Topic
Name
7+7 =