Delete lines with date older that a week.
-
I have a .csv file that has the following date field format 07/07/21.
I need to delete all lines with dates older than a week.
How can I accomplish that? -
You’d have to write some code for that.
The code could be via a scripting plugin inside Notepad++ (in which case this is an on-topic conversation for this forum) or a programming language external to Notepad++ (that would be an off-topic conversation best had on another site, if you need more help).If you want to do it with a scripting language plugin, and need help on that, you’d really need to say more about your data – like, does the date come at the start of every line of the file, or? You really should have a look at THIS.
-
A Alan Kilborn referenced this topic on
-
Discussion continued in a NEW thread.
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