DsgnWrks

The random technical musings of Justin Sternberg

str.replace 2

str.replace(/david/gi, "Darren") // "Darren will always be an Arsenal fan, which means Darren will always be great"