I am new rider and even newer to motorcycles, but I was able to replace both the regulator (not super crazy) and the stator with the DIY link below.
When you drop your primary oil, you can look for any extra elements that shouldn't be there, such as plastic bit, excessive tiny metal shavings. All of which will tell you if something mechanical went wrong, rather than an electrical issue. But there are test you can run through the manual, I never did the test because mine was a mechanical HD screw up.
I have a 2005 XB12scg and found a cheaper price online for my stator at Surdyke. Average price was going for around $145-150 bucks, but found it there for $119.00. Searched google after I found the part number.
After you get a new stator, you can check your old one for any wear. My original stator plastic clip was not damaged, but the new one I order was different from my original. I looked at my original and it has a "4" molded into the back side, while the other had a different set of numbers. The new one I could tell would hit the stator bolts and would eventually cause it to fail. Most will say to grind it down, but you don't have to. You can simply tap out the rivet without cause any damage to the stator or clip and reuse as needed. I was going to use my old plastic clip on the new stator, but after thinking about it....I just left it off. So far no issues (2k miles so far).
You will need a tool to be able to break the bolts loose and to re-tighten the "clutch bolt and engine bolt" respectively. I bought the one from American Sport Bike, it's like 30 bucks. But I couldn't break loose the engine bolt even with a friend helping me.
Be sure to ask clear questions, as people are willing to help, but don't really want to fish for what you are trying to say.
Make sure you have the time to do this, don't try to rush through this and realize you torqued something wrong and have to tear it back down again. Oh, and get a torque wrench if you don't already. I rented a heavy duty one from my Oreily's as you need to torque the engine bolt pretty high.
DIY Stator Replacement
Cheers!