Lucee Function Reference
Function REMATCH
Uses a regular expression (RE) to search a string for a pattern, starting from a specified position.
Example
rematch(string regex,string string):array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
regex | string | Yes | Regular expression for which to search. Case sensitive. |
string | string | Yes | String in which to search. |