REGEXP_EXTRACT_ALL (Lakehouse v2)
Extrait toutes les sous-chaînes qui correspondent à un motif d’expression régulière.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.regexp_extract_all(<str>, <pattern>)Exemples Analyze
Section intitulée « Exemples Analyze »func.regexp_extract_all('a1b2c3', '\\d+')
┌───────────────┐│ ['1','2','3'] │└───────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »REGEXP_EXTRACT_ALL(<str>, <pattern>)Exemples SQL
Section intitulée « Exemples SQL »SELECT REGEXP_EXTRACT_ALL('a1b2c3', '\\d+');
┌───────────────┐│ ["1","2","3"] │└───────────────┘