var string = 'foo\uD83D\uDCA9bar'; var match = string.match(/foo(.)bar/);