Created
May 7, 2019 12:59
-
-
Save telekineticyeti/c1d6d4889a910d61e5cbd5829ad7197c to your computer and use it in GitHub Desktop.
Extract the Time/Date, Transaction ID, Amount, Currency and Merchant Name from a Pypal transaction email. Useful regex to use in automation services like Zapier.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(\d{1,2} \w+ \d{4} \d{1,2}\:\d{1,2}\:\d{1,2} \w{3})\s+Transaction ID:\s+([\d\w]*)[\S\s.]*(?:You sent a payment of )[\$\£]?(\d+\.\d+) (\w{3}) to (.*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment