Question 6
Question
Answer
const regex = /(?<=\d)match/; // Lookbehind for any digit followed by "match"
const text = "12 match, 34 match, abc";
const matches = text.match(regex);
console.log(matches); // Output: [" match", " match"]Last updated