Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Expressions
  • pyflink.table.expression.Expression.regexp_extract_all

pyflink.table.expression.Expression.regexp_extract_all#

Expression.regexp_extract_all(regex, extract_index=None) → 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.

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.regexp_extract

next

pyflink.table.expression.Expression.regexp_instr

On this page
  • Expression.regexp_extract_all()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.