Pergunta de entrevista da empresa Pulse Secure

Given an alphanumeric string, form a new string by extracting only the numbers from the original string in the same order. Input: as2d67kdA8 Output: 2678