the current clipboard content is manipulated
Which is usually an unfriendly act, but when posting code to the Forum, you need to use it anyway ;-)
Here is a special variant for the Masm32 Forum:
include \masm32\MasmBasic\
MasmBasic.inc ;
download Init Let esi=
Clip$()
; get clipboard text SetClip$ Cat$(
Replace$(esi, Tb$, " "))
; set modified text with 4 spaces per tab .if
WinByTitle("Post reply -")
; check if the reply window is already open invoke SetForegroundWindow, eax
; if yes, go there .endif
Exitend start
Of course, you need to launch the proggie. For use with QEditor, menus.ini needs a line like
[&Tools]
...
Tabs to Spaces,{e}\masm32\Tabs2Spaces.exe