Можете ли вы придумать способ улучшить это регулярное выражение в SQL teradata?
Идея состоит в том, чтобы извлечь все числовые цифры после слова 'tel'.
sel regexp_replace(regexp_substr(lower('Hi there - Tel: 2211197245 (cel)'),'tel.*\s*:\s*(.*)'),'[^0-9]+','') as cel;
sel regexp_replace(regexp_substr(lower('Hi there - Telnet: 2211-197245 (mybro)'),'tel.*\s*:\s*(.*)'),'[^0-9]+','') as cel;
sel regexp_replace(regexp_substr(lower('Hi there - Telephone: (2211) 197245 (cel)'),'tel.*\s*:\s*(.*)'),'[^0-9]+','') as cel;
Output: 2211197245