Obsidian/Recognition/Programing/Tibero/문자열에서 숫자만 추출.md

5 lines
173 B
Markdown
Raw Normal View History

2023-08-14 16:19:25 +00:00
e- 모든 숫자 추출
> select regexp_replace('12HL5240', '[^0-9]') from dual
- 문자열뒷부분 숫자 추출
> select regexp_substr('12HL5240', '[0-9]+$') from dual