Regex: Quanti­fiers Cheat Sheet

*0 or more{3}Exactly 3
+1 or more{3,}3 or more
?0 or 1{3,5}3, 4 or 5

Add a ? to a quantifier to make it ungreedy.

Leave a Reply

Your email address will not be published. Required fields are marked *