This is quite amazing!
Plenty of my time saved.
What if I only need this RegExp feature works in particular window and completely disable this script when other windows are active?
I'll tried adding IfWinActive to control the hotstrings("", "") at the bottom of this script, but it seems that the script still works but just not send the result out. I found this when I notice that when I launch some software by hotkey but the window just not active.