Extract Matches

Tell us what’s happening:

I keep getting result undefined. WOuld that be an issue with the site or what I wrote? I ran what I wrote through Web Developer tools, and it extracted coding.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

it is because you removed the line that used to be there that started with

let result =

The challenge expects you to assign the result of the match to the result variable.