Skip to content

Instantly share code, notes, and snippets.

@edermfl
Created April 10, 2019 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edermfl/c5a260cd7b86e07888012856e9a10b04 to your computer and use it in GitHub Desktop.
Save edermfl/c5a260cd7b86e07888012856e9a10b04 to your computer and use it in GitHub Desktop.
-- RETORNA O NÚMERO 9, OO SEJA, POSIÇÃO INICIAL DO EMAIL NO TEXTO.
SELECT REGEXP_INSTR('E-mail: eder@gmail.com', '\w+@\w+(\.\w+)+') FROM DUAL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment