I have a file with this type of lines:
blabla bla:bla whatever what:ever alpha bravo charlie del:ta
I only want to keep the words that contain a colon.
So the output for the above would be:
bla:bla what:ever del:ta
Does anyone have any ideas?
Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.