timeit("'12454v'.translate(tr_table)",
    'import string; tr_table=str.maketrans({c:None for c in string.ascii_letters})'
    )
timeit("''.join(filter(lambda c:not c.isalpha(), '12454v'))")
Delete letters from string