Quantifiers indicate numbers of characters or expressions to match.
x* matches the preceding item "x" 0 or more times.
"A ghost booooed".match(/bo*/) ➞ "boooo"
x+ matches the preceding item "x" 1 or more times. Equivalent to {1,}.
"caaaaaaandy".match(/a+/) ➞ "aaaaaa"
x? matches the preceding item "x" 0 or 1 times. If used immediately after any of the quantifiers *, +, ?, or {}, makes the quantifier non-greedy (matching the minimum number of times), as opposed to the default, which is greedy (matching the maximum number of times).
"angle.".match(/e?le?/) ➞ "le"
"angel.".match(/e?le?/) ➞ "el"
let address = "Harry Potter, 4 Privet Drive, Little Whinging, Surrey"
address.match(REGEXP) ➞ "4 Privet Drive"