Test, validate and match regular expressions
Matches SQL BETWEEN clauses, capturing the range expression between the keywords 'BETWEEN' and 'AND' followed by a terminator like whitespace or a punctuation mark such as ? or !. Useful for parsing SQL queries or extracting conditions from database statements.