diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-all-letters-and-numbers/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-all-letters-and-numbers/index.md index b28a08ed4b..85d932184a 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-all-letters-and-numbers/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-all-letters-and-numbers/index.md @@ -1,18 +1,16 @@ --- title: Match All Letters and Numbers --- -The Problem +## The Problem + Use the shorthand character class \w to count the number of alphanumeric characters in various quotes and strings. -Solution -let quoteSample = "The five boxing wizards jump quickly."; -let alphabetRegexV2 = /\w/gi; // Change this line -let result = quoteSample.match(alphabetRegexV2).length; -## Match All Letters and Numbers +## Solution -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. +```let quoteSample = "The five boxing wizards jump quickly."; +let alphabetRegexV2 = /\w/gi; // Change this line +let result = quoteSample.match(alphabetRegexV2).length; +```