parse and paste text

0001-01-01 1 min read bash
Lot of times, I copy the text but before pasting want to remove a word or make some other changes or add “wget” to the URL, quite common. So, I came up with this alias replace='echo $(xclip -i)|sed 's/text//'|xclip -o' and this depends on xlip, which you can install with dnf install xclip