Python Replace By Regexp Extract Snowflake