There are three ways to remove these transactions based on how they were entered, JK12.
If these are online banking transactions, we can directly undo and exclude them in the banking section.
If these are regular transactions which were entered manually in QBO, you'll have to delete them one by one.
Please let me know if you have any further questions. Thanks for dropping by.