I have a list of items that resembles this (If it was this short I'd do it by hand but its way longer.)
- [x] bhop_4appa_hdr
- [x] bhop_620s_hdr
- [x] bhop_behemoth
- [ ] bhop_grove_hdr
- [ ] bhop_linear_gif2
- [x] bhop_magic_cave
It is from gitlab and I need to copy it somewhere else but I don't want to have having the "- [x] " or "- [ ] " in front of everything
Now, since I don't really know anything about AHK, and just fiddle with it from time to time I had no clue where to start
I stumbled upon RegExReplace on some forums, and I'm fairly certain it could work I just don't know how it works
So I copied a bit of code from a post that looked like this.
Code: Select all
F7::
Clipboard := RegExReplace(Clipboard, "- [x] ","")
return
And I would probably need to put it in a loop for it to do every line (wild guess here)
Maybe there's a way to remove everything from the start of a line and stop a "b" since they will always start with b?