I want to split & paste the lines in different pattern , filter the lines which starts with # or junk data present in it this is my text file .
tlprdhwa base atlas3 #ggasbkdjkddddbdb tlprdhwb base atlas3 #jbksljs;blmnnf tlprdhwc base atlas3 #23/15/bknlm;;ds;mmsld tlprdhwd base atlas3 tlprdhwe base atlas3 tlprdhwf base atlas3 tlprdnwa base atlas3 tlprdnwb base atlas3
output should come like this
tlprdhwa basetlprdhwb atlas3tlprdhwc basetlprdhwc atlas3