Is it possible to not limit the upper value of a regex range for the repetition of a character? I'm not sure if this is possible. I'm using infinity
as a placeholder in this example:
let lowerLimit = 2; // Or any value
let regex = RegExp ("[\n]{" + lowerLimit + ",Infinity}", "g");