I have a list of lines like:
Spend: 4,100
Spend2: 2,200
Spend3: 300
Spend4: 1,590
Spend5:
and I'm trying to grep just the lines that end with numbers
I tried
grep "[0-9]+$" filename.txt > filtered.txt
grep "\d$" filename.txt > filtered.txt
but none of these worked