=================================================================== RCS file: /cvs/pta/import/capital_one_credit.txt,v retrieving revision 1.2 retrieving revision 1.7 diff -u -p -r1.2 -r1.7 --- pta/import/capital_one_credit.txt 2020/11/12 12:40:30 1.2 +++ pta/import/capital_one_credit.txt 2020/11/28 21:57:41 1.7 @@ -1,23 +1,9 @@ -# 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 -,,,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 +ACCOUNT 3150 +DELIM , +HEADER Transaction Date,Posted Date,Card No.,Description,Category,Debit,Credit +DATE 2 YYYY-MM-DD +AMOUNT 6 7 +DESCRIPTION 4 +,,,,Merchandise,,, 5300 SHOP +,,,EXAMPLE INTERNET,,,, 6810 INTERNET +,,,.*CAPITAL ONE (ONLINE|MOBILE) PYMT,Payment/Credit,,, 1801 PAY