To specify a minimum number of occurrences, leave off the upper bound. : Frequency « Regular Expression « Perl






To specify a minimum number of occurrences, leave off the upper bound.

   

/de{3,}f/ matches d, followed by at least three es, followed by f. 

   
    
    
  








Related examples in the same category

1.Check the frequency
2.Match zero or one characters
3.To specify a maximum number of occurrences, use 0 as the lower bound.
4.Checking for multiple occurrences