=================================================================== RCS file: /cvs/pta/import/capital_one_credit.txt,v retrieving revision 1.1 retrieving revision 1.5 diff -u -p -r1.1 -r1.5 --- pta/import/capital_one_credit.txt 2020/11/10 17:15:08 1.1 +++ pta/import/capital_one_credit.txt 2020/11/18 22:25:05 1.5 @@ -1,25 +1,17 @@ -# Capital One credit card header is -# Transaction Date,Posted Date,Card No.,Description,Category,Debit,Credit -# The format of this file is -# selector account_number booking_identifier -# selector is a comma-separated list of regular epxresssions which -# matches corresponding fields in the CSV file ACCOUNT 1010 -,,,Automotive,,, 1111 AUTO -,,,Current Account,,, 1234 CSVACCOUNT -,,,Automotive,,, 1111 AUTO -,,,Bills & Utilities,,, 2222 BILLS -,,,Fees & Adjustments,,, 3333 FEES -,,,Food & Drink,,, 4444 FOOD -,,,Gas,,, 5555 GAS -,,,Gifts & Donations,,, 6666 GIFTS -,,,Groceries,,, 7777 GROCERIES -,,,Health & Wellness,,, 8888 HEALTH -,,,Home,,, 9999 HOME -,,,Personal,,, 9998 PERSONAL -,,,Professional Services,,, 9997 PRO -,,,Other Services,,, 9995 OTH -,,,Merchandise,,, 9996 SHOP -,,,.*?AUTOPAY PYMT,Payment/Credit,, 5678 PAY -,,,CAPITAL ONE MOBILE PYMT,Payment/Credit,, 5678 PAY -,,,CAPITAL ONE ONLINE PYMT,Payment/Credit,, 5678 PAY +DELIM , +HEADER Transaction Date,Posted Date,Card No.,Description,Category,Debit,Credit +,,,,Automotive,,, 1111 AUTO +,,,,Bills & Utilities,,, 2222 BILLS +,,,,Fees & Adjustments,,, 3333 FEES +,,,,Food & Drink,,, 4444 FOOD +,,,,Gas,,, 5555 GAS +,,,,Gifts & Donations,,, 6666 GIFTS +,,,,Groceries,,, 7777 GROCERIES +,,,,Health & Wellness,,, 8888 HEALTH +,,,,Home,,, 9999 HOME +,,,,Personal,,, 9998 PERSONAL +,,,,Professional Services,,, 9997 PRO +,,,,Other Services,,, 9995 OTH +,,,,Merchandise,,, 9996 SHOP +,,,.*PYMT,Payment/Credit,,, 5678 PAY