Javascript examples for String Operation:String Quote
Replace “ &ldquo with double quotes
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> window.onload=( function() {//from ww w . j a va2s . c o m var s = "Test ?? this ? text ? here"; s = s.replace(/\u201C|\u201D/g, '"'); s = s.replace(/\u2019/g, "'"); document.write(s); }); </script> </head> <body> </body> </html>