pyflink.table.expression.Expression.regexp_substr#
- Expression.regexp_substr(regex) Expression[source]#
Returns the first substring in str that matches regex. null if any of the arguments are null or regex is invalid or pattern is not found.
- Parameters:
regex – A STRING expression with a matching pattern.
- Returns:
A STRING representation of the first matched substring.
Added in version 1.12.0.