I am trying to delete all strings except emails in sublime.
So i can look for emails like this
[a-zA-Z0-9.!#$%&'+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[\.a-zA-Z0-9-]+)
But how do i delete everything else?
Thanks
You may do the following:
Selection
and click Invert Selection
For those who are looking for a latest answer, after clicking Find All
, then just do copy (ctrl + v)
, open new text, paste (ctrl + v)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With