Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataFrame
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.expression.Expression.regexp_extract_all#

Expression.regexp_extract_all(regex, extract_index=None) → pyflink.table.expression.Expression[source]#

Extracts all the substrings in str that match the regex expression and correspond to the regex group extract_index. regex may contain multiple groups. extract_index indicates which regex group to extract and starts from 1, also the default value if not specified. 0 means matching the entire regular expression. null if any of the arguments are null or invalid.

Parameters
  • regex – A STRING expression with a matching pattern.

  • extract_index – An optional INTEGER expression with default 1.

Returns

An ARRAY<STRING> of all the matched substrings.

New in version 1.12.0.

previous

pyflink.table.expression.Expression.regexp_extract

next

pyflink.table.expression.Expression.regexp_instr

Show Source

Created using Sphinx 4.5.0.