try see compare understand learn JavaScript Regular Expressions
Quantifiers

A quantifier can be appended to a character, a character class, or a [...] set. It specifies how many count of preceding item we need.

Quick Reference
*0 or more. This is same as {0,}.
+1 or more. This is same as {1,}.
?0 or 1. This is same as {0, 1}.
❴2❵Exactly 2 times
❴2,8❵Between 2 and 8 times
❴2,❵2 or more times