

Use a regular expression (regex) to remove all lines with the a appended or a b line where there is no corresponding a line.Thus an account with “a” would appear before the corresponding line from file #2 (which has a b appended to account number). For the file with other additional information append a b to the account number and if required copy that account number (with b) to the front of the line.For the file with ONLY account numbers, append an a to the account number.I don’t use plugins, of which there are quite a few, and maybe one of those might have what you are looking for. I need to match file one to file two and delete the non-matching lines

