Skip to content

Instantly share code, notes, and snippets.

@zelark
Last active August 29, 2015 13:58
Show Gist options
  • Save zelark/9937060 to your computer and use it in GitHub Desktop.
Save zelark/9937060 to your computer and use it in GitHub Desktop.
select regexp_replace(str, '(foo|foos|fooes)', 'bar', 1, 1, 'i') as val
from (select 'aa_fOo_bb' str from dual);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment