Need to return all string matching a regex.
let text = "data.check && Obj[data.check]['display_119']) { 1549: displayName = obj[data.check]['display_12']";
var identifiers = text.match("display_[0-9]+$");
identifiers should be an array containing
["display_119", "display_12"]; //expected
$likevar identifiers = text.match(/display_[0-9]+/g);text.match(/display_[0-9]+/g);