I would like to remove a sign from the copied content, I normally use it to remove HTML tags however in this case I need to remove the following:
How can I get a code like that to be working? I have something similar that removes HTML tags:
ClipboardTempAll:=ClipboardAll ; this contains things like pictures or rich text formatting, we restore this to the clipboard at the very end. You can remove this if you like
ClipboardTemp:=Clipboard ; this is what holds plain text, not fancy formatting
ClipWait, 1 ; I'd honestly consider indefinite ClipWait. Or I'd use ErrorLevel, per ClipWait documentation, to see if ClipWait timed out or not.
Sleep 500 ; this appears necessary because the next line is actually processed instantly for me, and it will paste the unprocessed clipboard because it's already put it back on Clipboard
processedString := RegExReplace(string,"<.*?>")
As I understand the command to remove HTML tags is in here:
Does anybody have any idea how to change the code so it removes "#aaa" or "#anything" or "#blahblah"?
Thanks in advance!