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.
Discussion continued in a NEW thread.