I'd appreciate your help.
How to manipulate clipboard to remove text after the word "References", keeping the remaining content for pasting?
The clipboard text has the word "References" always starting after a line break (first word of the line).
Example:
Text for test purposes. Text for test purposes.
Text for test purposes. Text for test purposes. Text for test purposes. Text for test purposes.
References
Text for test purposes. Text for test purposes. Text for test purposes.
Desired output:
Text for test purposes. Text for test purposes.
Text for test purposes. Text for test purposes. Text for test purposes. Text for test purposes.
Regarding the script structure, I consider a shortcut to trigger the command, example:
Thank you very much!^#c::
Send, ^c
COMMAND I NEED HELP FOR
Return