Strip two or more spaces (all spaces to single space).

Script key: Strip two or more spaces (all spaces to single space).

Posted by @apkawel

Install

Details

Label
Voice Over Strip two or more spaces (all spaces to single space).
Script
var sel = getText();
var res = sel.replace(/ {2,}/gm,' ');
setText(res);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus