Description Usage Arguments Functions See Also
Functions to restrict a regex to a specific number
1 2 3 4 5 6 7 |
x |
A regex pattern. |
n |
An integer number |
type |
the type of match to perform. There are three match types
|
low |
An integer number for the lower limit. |
high |
An integer number for the upper limit. |
n_times
: x
must occur exactly n
times.
between
: x
must occur between low
and high
times.
at_least
: x
must occur at least n
times.
at_most
: x
must occur at most n
times.
Other rex:
%or%()
,
capture()
,
character_class()
,
group()
,
lookarounds
,
not()
,
rex()
,
shortcuts
,
wildcards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.