I have a file with a few thousand rows to be added to a MySQL database. There are date values in the rows which are in the dd-mm-yyyy format but I need them to be in the yyyy-mm-dd format.
E.g., '11-04-2010', needs to become '2010-04-11', in every row.
Is there a simple way to do this in notepad++ or another text editor?
You can do this with Textpad:
Find:
([0-9]+)-+([0-9]+)-+([0-9]+)Replace: \3-\2-\1