REGEXP_REPLACE (Lakehouse v2)
정규식 패턴과 일치하는 부분 문자열을 대체 문자열로 바꿉니다.
Analyze 구문
섹션 제목: “Analyze 구문”func.regexp_replace(<str>, <pattern>, <replacement>)Analyze 예제
섹션 제목: “Analyze 예제”func.regexp_replace('hello world', '\\s+', ' ')
┌───────────────┐│ 'hello world' │└───────────────┘SQL 구문
섹션 제목: “SQL 구문”REGEXP_REPLACE(<str>, <pattern>, <replacement>)SQL 예제
섹션 제목: “SQL 예제”SELECT REGEXP_REPLACE('hello world', '\\s+', ' ');
┌─────────────┐│ hello world │└─────────────┘