freeCodeCamp Challenge Guide: Match All Letters and Numbers

Match All Letters and Numbers


Solutions

Solution 1 (Click to Show/Hide)
let quoteSample = "The five boxing wizards jump quickly.";
let alphabetRegexV2 = /\w/g; // Change this line
let result = quoteSample.match(alphabetRegexV2).length;
9 Likes