Quantifiers
In the following table, you can find the patterns for quantifiers, which specify how many instances of a character, group, or character class must be present in an input for a match to be found.
Pattern |
Description |
Example |
---|---|---|
|
This matches exactly |
|
|
This matches |
|
|
This matches |
|
|
This matches zero or more occurrences and is equivalent to |
|
|
This matches one or more occurrences and is equivalent to |
... |