PHP Quantifier Syntaxes – String Function

 
    Quantifier   Min        Max               Range{m}          m          m                 Exactly m times{m, x}       m          x                 At least m times, no more than x{m,}         m          Infinite          At least m times or more*            0          Infinite          Zero or more times?            0          1                 Zero or one times+            1          Infinite          One or more times

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.