How to remove // and end //]]> with javascript from string?
// and end //]]> with javascript from string?
//]]>
var title = \"
You ought to be able to do this with a regex. Maybe something like this?:
var myString = ""; var myRegexp = //; var match = myRegexp.exec(myString); alert(match[1]);