How to extract the data(numbers) from a file with regular expression in Python

How to extract the data(numbers) from a file with regular expression in Python

a year ago
Anonymous $KxGqLmj_R3