Regex Syntax from string.extracting only numbers

Hi,
I have a string,

"The account number for Amruta 234567:
The Dob is 10.12.2022.
what is the syntax for extracting only the numbers from the 1st line?

Hi @amruta_George
use this regex

\d{5,}

Thanks & Regards,
Nived N

Hi @amruta_George

Try this expression

\d+(?=:)

Thank you.that worked.