pyflink.table.expression.Expression.regexp_extract#
- Expression.regexp_extract(regex: Union[str, pyflink.table.expression.Expression[str]], extract_index: Optional[Union[int, pyflink.table.expression.Expression[int]]] = None) pyflink.table.expression.Expression[str] [source]#
Returns a string extracted with a specified regular expression and a regex match group index.
See also
trim_leading()
,trim_trailing()
,trim()
,replace()
,char_length
,upper_case
,lower_case
,init_cap
,like()
,similar()
,position()
,lpad()
,rpad()
,overlay()
,regexp_replace()
,regexp_extract()
,substring()
,from_base64
,to_base64
,ltrim
,rtrim
,repeat()
New in version 1.12.0.