I have a file that contains a total of 482 lines i want to remove ~~adt*~~ from. This is how the content looks like:
478|~~adt00000aa9~~~~adt0000000b~~14395189_p0.jpg 479|~~adt00000995~~44836628_p0.jpg 480|~~adt00000aae~~Miku_Collab_2_by_Luciaraio.jpg
sed 's/~~adt*~//' file > new_file but it didn't remove everything.
How can i remove everything between the first and the last two ~~ signs?