Home >>XQuery Tutorial >XQuery Regular Expressions

XQuery Regular Expressions

XQuery Regular Expressions

A list of regular expression functions provided by XQuery:

Sr No Name Description
1. matches($input, $regex) If the input matches the given regular expression it returns valid.
2. replace($input, $regex, $string)2. The specified input string is replaced with a given string.
3. tokenize($input, $regex) It is used to return a sequence of items which corresponds to the regular expression.