2014-10-11 23:40:11 +11:00

3 lines
74 B
JavaScript

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