I am trying to use the filter option in UltraEdit. I have a simple CSV file. It has 3 columns. The last column has dates. I need to apply a filter so that I see only those lines with dates older than, say, 05/01/2019.
24.59,000000024.13,06/01/2019
18.45,000000000.00,07/01/2019
18.45,000000018.36,07/01/2019
94.08,000000000.00,02/01/2019
19.83,000000000.00,02/01/2019
77.35,000000000.00,02/01/2019
51.22,000000000.00,02/01/2019
14.02,000000000.00,02/01/2019
70.21,000000000.00,02/01/2019
25.24,000000000.00,02/01/2019
17.35,000000000.00,02/01/2019
Is there a way to do that in UltraEdit in column-mode or not?
This is possible by moving caret to top of file with Ctrl+Home and opening regular Find window for example with Alt+F3 (default key assignment) and
(?:19\d\d|200[0-9]|201[0-8]|0[1-4]/01/2019)$,The Perl regular expression search string matches the years
1900to1999OR the years2000to2009OR the years2010to2018OR the dates01/01/2019to04/01/2019which must be found at end of a line for a positive match.Well, it is unclear if the date format is
DD/MM/YYYY(British) orMM/DD/YYYY(U.S.). So the line hiding can be correct or wrong depending on date format and what is meant with older than 05/01/2019. I assume the formatDD/MM/YYYYas today is2019-05-05(international date format YYYY-MM-DD) and so06/01/2019would be a date in future on beingMM/DD/YYYY.The same can be also achieved by searching with Perl regular expression for
matching the dates
05/01/2019to09/01/2019OR any date with first digit of day being1to3in year2019OR any date with month02to09in year2019OR any date with month10to12in year2019found at end of line with using Hide instead of Show as filter option for Filter lines.