SQL
Text Functions and Operators
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |If `string` contains the regexp `pattern`, replaces the matching part with `replacement` (see [Pattern Matching](#docs:sql:functions:pattern_matching::using-regexp_replace)). |
| **Example** | `regexp_replace('hello', '[lo]', '-')` |
| **Result** | `he-lo` |