So, what I want to do is, if my input text is
Line1 Line2 Line3 Line4
The progam makes it into
Line1 Line3 Line4