Guitar Single Coil Hum Cancellation in Reaper DAW

I will updated this post once I try this out. I have some noisy guitar  parts, but they occur while I'm playing, so I need to record just the hum/noise…