提取匹配
let extractStr = "Extract the word 'coding' from this string.".match(/coding/);
let codingRegex=/coding/; // Change this line
let result = extractStr; // Change this line
let extractStr = "Extract the word 'coding' from this string.".match(/coding/);
let codingRegex=/coding/; // Change this line
let result = extractStr; // Change this line