Textmedium
REGEXEXTRACT()
Returns the first matching substring (or first capture group) of a regular expression.
Syntax
fx
=REGEXEXTRACT(text, regular_expression)
Arguments
Example
fx
=REGEXEXTRACT("abc123", "\d+")
Paste this into Google Sheets to run it. The live playground on this site covers 24 of the 61 functions, and REGEXEXTRACT isn't one of them yet.
Related formulas
Used by