XQuery Regular Expressions
The following table lists the commonly used regular expression functions provided by XQuery.
| Name | Description |
|---|---|
matches($input, $regex) |
It returns true if the input matches with the provided regular expression. |
replace($input, $regex, $string) |
It replaces the matched input string with given string. |
tokenize($input, $regex) |
It returns a sequence of items matching the regular expression. |