Match All Letters and Numbers?

Not sure I’m doing wrong!

Your code so far


let quoteSample = "The five boxing wizards jump quickly.";
let alphabetRegexV2 = /\w+/g; // Change this line
let result = quoteSample.match(alphabetRegexV2).length;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Match All Letters and Numbers

Link to the challenge:

What are you trying to do? What do the failing tests say? What else have you tried?

Found my mistake! Thanks for responding!

Good job working through the problem. Happy coding!

1 Like