3 lines
67 B
JavaScript

var string = "foo💩bar";
var match = string.match(/foo(.)bar/u);