In this lesson from freeCodeCamp's Regular Expression course, we take a look at a regex that specifies an exact number of matches. Using this regular expression we can look through the text and if we were, for example, looking for "hah", with the the "a" letter 4 times (haaaah), we can use the regular expression, /ha{4}h/ which allows us to specify the number of patterns it should match (in this case "a").
Buy a Cool Super Hero Sticker for yourself and support us! BelieveRationally.com/Shop
See this course and many more free online coding courses at wewillcode.com/
Vibe out to some music I created at ananomyx.com/
Check bae's epoxy resin craft store at valeryedoesresin.com/
コメント