XQuery - Regular Expressions



Following is the list of commonly used regular expression functions provided by XQuery

Sr.No Name & Description
1

matches($input, $regex)

Returns true if the input matches with the provided regular expression.

2

replace($input, $regex, $string)

Replaces the matched input string with given string.

3

tokenize($input, $regex)

Returns a sequence of items matching the regular expression.

Advertisements