match unlimited times code example
Example 1: numbered occurences in regex
/^[a-z]{0,10}$/
{3} exactly 3
{6,} at least 6
{2,5} 2 to 5
Example 2: javascript regex zero or more occurrence
// /x*/ - Regular Expression zero or more occurrence
console.log(/'\d*'/.test("'123'"));// true
console.log(/'\d*'/.test("''"));// true