--Specify Only the Lower Number of Matches--

--Specify Only the Lower Number of Matches--
0.0 0

#1

Hi guys,

I have been stuck on this test for a few minutes (I’m sure it’s something simple I’m missing!) and it’s driving me crazy…what am I missing?!

Thanks in advance :slight_smile:

Matthew

Your code so far


let haStr = "Hazzzzah";
let haRegex = /Haz{4,}h/; // Change this line
let result = haRegex.test(haStr);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/specify-only-the-lower-number-of-matches


#2

You need to check your spelling of hazzah, specifically the a after the z’s.

Hope this helps :slight_smile:


#3

You know when you are just having one of those days?

Thanks so much for your quick reply…very much appreciated! :slight_smile: