Regular expression - return expression

Regular expression - return expression

I want to extract the street number from a street address.

I know that zoho supports using regular expressions to match and replacing strings. Can zoho support extracting strings and returning them?