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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login