Case 2, place you cursor at the start of line 3.
F&R "^[^\r\n:]*:" --> ""
Replace all - Backwards
replace_buffer_text('^[^\r\n:]*:',"LI-P*",'','0','0','0','0','0','0','1');
Case 4, place you cursor at the start of line 2.
F&R ":[^\r\n:]*$" --> ""
Replace all - Forwards
replace_buffer_text(':[^\r\n:]*$',"LIP*",'','0','0','0','0','0','0','1');
Hm... Actually in this case I get the same results with Prompt or ReplaceAll.