REgex to get numeric from string in oracle

后端 未结 1 852
温柔的废话
温柔的废话 2021-01-28 06:10

I have strings in the following formats

Akram_88_jamesstree_20140418, Akram_8_johnstreet_20140418, Akram_888_johnstreet_20140418,

Now I want to retrieve only the

1条回答
  •  走了就别回头了
    2021-01-28 06:57

    SELECT REGEXP_SUBSTR('Akram_88_jamesstree','[0-9]+')
    

    Here put your column Name in place of 'Akram_88_jamesstree'.

    0 讨论(0)
提交回复
热议问题