or just for fun:s/(\:)\s+/$1/
Second probably has loads of reasons why it'll fall over in other cases but seems to work fine here.s/(:) +/$1/
In reply to Re^3: How can I strip an arbitary number of "inner" spaces from a string?
by gothic_mallard
in thread How can I strip an arbitary number of "inner" spaces from a string?
by habhab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |