I have a string that may contain an arbitrary number of single-letters separated by spaces. I am looking for a regex (in Perl) that will remove spaces between all (unknown n
This will do the job.
(?<=\b\w)\s(?=\w\b)