Delete lines in multiple text/DAT files that contain specific characters
-
Re: Delete lines in multiple text/DAT files that contain specific characters
Hello,
I have been using this process since you were kind enough to help me, and just notices that I am running into a problem with this expression: \r\n\s+\d{1,4}N90-.*\s+00000000$. in addition to deleting the line that has the N90- with a , it is also deleting the line above it. For example, the line above was deleted in addition to the line that I wanted to delete. This is happening on every file where N90- is present. Do you have any idea why this is happening?
10DTP-1040K 00000000 This should not have been deleted, but was. 10N90-SS7784X 00000000 This was deleted correctly.
-
Is there any great reason you’ve posted the exact same thing THREE times?
-
@Alan-Kilborn Apologies… I am not experienced with this.