I am trying to delete all the spaces that aren't sandwiched by a letter. So this
I am trying; but ; I can't find a way ;
should be this
I am trying;but;I can't find a way;
I tried this but it doesn't work.
:%s/\([A-Za-z]\)\@<! *\([A-Za-z]\)\@!//g