Is there a simple way to replace straight quotes with smart quotes (curly quotes?)
I’ve tried:
var the_string = example.text;
example.htmlText = the_string.replace("\"", """);
But it doesn’t appear to make the quotes curly.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Perhaps you’re looking to replace text within quotes using the left and right double quotation mark entities:
Using regex, this could be accomplish such as:
This example would produce: