XQuery Regular Expressions

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

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.