Link Search Menu Expand Document

Specify Only the Lower Number of Matches

Summary

  • When using a specific range, leaving a range blank will remove such limit.

Final Code

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