J
joeyej
Hi - I have a txt file I'd like lines removed from grouped on date. I
want to run a daily task at midnight to read the dates.inc file, locate
the [same] group dates at the top and delete them i.e read the file,
find "May 15" or "May 15, 2006," and remove the lines containing that
string stopping at "May 16,". The program would kick off at night to
strip one date grouping per run.
<option value="May 15, 2006, (Monday), 10am">May 15, 2006, (Monday),
10am
<option value="May 15, 2006, (Monday), 1pm">May 15, 2006, (Monday), 1pm
<option value="May 16, 2006, (Tuesday), 9am">May 16, 2006, (Tuesday),
9am
<option value="May 16, 2006, (Tuesday), 11am">May 16, 2006, (Tuesday),
11am
<option value="May 16, 2006, (Tuesday), 1pm">May 16, 2006, (Tuesday),
1pm
<option value="May 17, 2006, (Wednesday), 9am">May 17, 2006,
(Wednesday), 9am
<option value="May 17, 2006, (Wednesday), 11am">May 17, 2006,
(Wednesday), 11am
<option value="May 17, 2006, (Wednesday), 1pm">May 17, 2006,
(Wednesday), 1pm
<option value="May 17, 2006, (Wednesday), 3pm">May 17, 2006,
(Wednesday), 3pm
Thanks,
Joe
want to run a daily task at midnight to read the dates.inc file, locate
the [same] group dates at the top and delete them i.e read the file,
find "May 15" or "May 15, 2006," and remove the lines containing that
string stopping at "May 16,". The program would kick off at night to
strip one date grouping per run.
<option value="May 15, 2006, (Monday), 10am">May 15, 2006, (Monday),
10am
<option value="May 15, 2006, (Monday), 1pm">May 15, 2006, (Monday), 1pm
<option value="May 16, 2006, (Tuesday), 9am">May 16, 2006, (Tuesday),
9am
<option value="May 16, 2006, (Tuesday), 11am">May 16, 2006, (Tuesday),
11am
<option value="May 16, 2006, (Tuesday), 1pm">May 16, 2006, (Tuesday),
1pm
<option value="May 17, 2006, (Wednesday), 9am">May 17, 2006,
(Wednesday), 9am
<option value="May 17, 2006, (Wednesday), 11am">May 17, 2006,
(Wednesday), 11am
<option value="May 17, 2006, (Wednesday), 1pm">May 17, 2006,
(Wednesday), 1pm
<option value="May 17, 2006, (Wednesday), 3pm">May 17, 2006,
(Wednesday), 3pm
Thanks,
Joe