Skip to content

Instantly share code, notes, and snippets.

@Ze1598
Created October 5, 2020 11:15
Show Gist options
  • Save Ze1598/1353ab1baaffe8990b59caaf971ed79e to your computer and use it in GitHub Desktop.
Save Ze1598/1353ab1baaffe8990b59caaf971ed79e to your computer and use it in GitHub Desktop.
Extract expenses with regex from txt (sample data)
0.70 - Coffee
0.75 - Cake slice
19.99 - Video game
12 - Lunch
6.99 - Spotify monthly charge
22.24 - Travel mug
7 - Cinema ticket
15 - Lunch
Total: 85.62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment