XQuery Regular Expressions

A list of regular expression functions provided by XQuery:

Index Name Description
1) matches($input, $regex) It returns true if the input matches with the provided regular expression.
2) replace($input, $regex, $string) It is used to replace the matched input string with given string.
3) tokenize($input, $regex) It is used to return a sequence of items matching the regular expression.