Not sure how to do this, but looking to remove " External" only if at the end of the clipboard, from my clipboard and populate the result back to my clipboard.
I often copy #s from the end of email subject lines, and when double clicking google also selects the external flag.
Thanks all!
[Mod edit: Topic moved from 'Tutorials'.]
Remove ..." External" from clipboard
Re: Remove ..." External" from clipboard
Code: Select all
Clipboard = this External
; Clipboard = this and that
Sleep, 100
; -----------------------------
Clipboard := RegExReplace(Clipboard, "\h+External$")
MsgBox, 64, Clipboard, %Clipboard%