"use strict"; var string = "foo\ud83d\udca9bar"; var match = string.match(/foo(.)bar/);