Qualifiers restrict the number of times the preceding expression may appear. : Regular Expressions « String « PHP
- PHP
- String
- Regular Expressions
Qualifiers restrict the number of times the preceding expression may appear.
The common single-character qualifiers are ?, +, and *.
? means "zero or one,"
+ means "one or more."
* means "zero or more."
Related examples in the same category