****** - Action Required: One-time verification code
Hi User,
You are receiving this email because a request was made for a one-time code that can be used for authentication.
Please enter the following code for verification:
543216
If you believe you have received this email in error, please reach out to your system administrator.
In this above text i need to extract only OTP number
Can you give me regex for this.
If the format is same always, then it is observed that the value is a number and there are no such other areas where a number is observed. Hence, maybe we can shorten the regex to the below :
Thanks but i received this above text by mail
so mail have subjects and as well date so i tried "\d(6) already it goes to date so can you give me to get only OTP with start and ends with??