text

regexp_instr

Returns the one-based character position of a selected match or zero when absent. endoption can select the position after the match.

Formal Syntax & Structure

sql syntaxsql
regexp_instr(string, pattern [, start [, N [, endoption [, flags [, subexpr]]]]])

Working Example

Example Snippetsql
SELECT regexp_instr('id=42', '[0-9]+');
SQL Reference