I've just started using AHK and I would like to do the following, if possible:
Basically I want to copy a text into the clipboard and have it automatically formatted in a certain way (or highlight it in notepad and press a certain key combination to achieve the same thing, either way is fine).
I want to replace \t\: with t:
replace \s\: with s:
replace \e\: with e:
And use "|" as a separator, so it becomes:
t:placeholder | s:0.00 | e:0.02 | t:placeholder2 | s:0.03 | e:0.04 |
Then I want it to break into a new line after t:, therefore it should become:
t:placeholder | s:0.00 | e:0.02 |
t:placeholder2 | s:0.03 | e:0.04 |
I would really appreciate it if someone could help me.
Thanks a lot!