#17988
Fish
Participant

Hi! Stefan,
I had tried and modified the macro you provide,
and it can delete half-width spaces, full-width spaces & tabs now.

document.selection.Replace("^[ \t ]+","",eeFindNext | eeReplaceAll | eeReplaceSelOnly | eeFindReplaceRegExp);