can you please try below querySelect regexp_replace(substring(phone from '\\d'), '[^0-9]', ' ', 'g') as phone_number from your tableSorry I do not have system at hand but something similar ahould work.
Please rfer to this blog,https://blogs.sap.com/2014/04/16/how-to-implement-new-badi-rsroavariablesexitbadi-73-for-reporting-a-step-by-step-guide/Maybe you have got the implementation wrong