regexp_escape()

Escapes special patterns to turn string into a regular expression similarly to Python's re.escape function.

Arguments & returns

regexp_escape(string)

Scalar
Overload link string Returns
#01 VARCHAR VARCHAR

Example

regexp_escape example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.