- or download this
$data =~ s{ # First, we'll list things we want
# to match, but not throw away
...
}{$1}gsx;
- or download this
// Here are some comments
var strText = "fee fi fo fum"; // More
strText = strText.replace (/fee/i, "pee"); // More
alert (strText); /* More */
- or download this
// Here are some comments
var strText = "My \"big\" example"; // More
strText = strText.replace (/"/gi, "'"); // More
alert (strText); /* More */
- or download this
function BadQuoteTest (strInput) {
strInput = strInput.replace(/"/gi, "'"); // aka aaa;
...
}