// Here are some comments var strText = "My \"big\" example"; // More strText = strText.replace (/"/gi, "'"); // More alert (strText); /* More */