Numeric values removal

Hi,

I am facing an issue where i have to pick up an OTP from an email and paste it in another screen but the email which contain the OTP also contains few other numeric values so when i do get text and then remove all non numeric values I still don’t end up with only the OTP , is there any other addon or way to do this.