how to match a regex in javascript to return true code example Example: js match true false /match/.test('string match') // true