Need help in "sed" script - David Tang script

Hi there
I need help in this geat script of David Tan who i am thanking.
It work great, but i would changing this line

to for exp

to resume, i need juste witch variable can replace 0100:003315, aaaa:bbbbb in input to get same variable in output. I need change 0:0:1 to 0:0:0 only.
Thank's in advance.

---------- Post updated 25-11-11 at 03:17 AM ---------- Previous update was 24-11-11 at 05:30 PM ----------

Heeelp :slight_smile:

Expecting this ..

$ sed 's/0:0:1,/0:0:0,/g;s/$/## expired !!/g' $TARGET1/$FILE3

Great, work perfect, thnak you very much.
regards