filter out the text from a srt file grep -vP "^\d+$|^.*-->.*$" lesson11.srt | xclip -selection clipboard