I have a huge text file, and I want to remove everything that isn't a symbol (for example - , . ' "), how do I remove everything so that the only things that are left is symbols, without specifying what symbols to keep.
As an example
"There's a man outside. He's come to take you away!"
would leave you with "'.'!"