REGEXP_COUNT (Lakehouse v2)
Renvoie le nombre d’occurrences d’un motif d’expression régulière dans une chaîne.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.regexp_count(<str>, <pattern>)Exemples Analyze
Section intitulée « Exemples Analyze »func.regexp_count('banana', 'an')
┌───┐│ 2 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »REGEXP_COUNT(<str>, <pattern>)Exemples SQL
Section intitulée « Exemples SQL »SELECT REGEXP_COUNT('banana', 'an');
┌───┐│ 2 │└───┘