913 B
913 B
title |
---|
Specify Only the Lower Number of Matches |
The Problem Change the regex haRegex to match the word "Hazzah" only when it has four or more letter z's.
Solution let haStr = "Hazzzzah"; let haRegex = /Haz{4,30}ah/; // Change this line let result = haRegex.test(haStr);
Specify Only the Lower Number of Matches
This is a stub. Help our community expand it.
This quick style guide will help ensure your pull request gets accepted.