JavaScript Demo: RegExp.prototype.exec()