yes, of course, if you actually do it in .NET, it's quite a lot of boilerplate characters... but if this was a PPCG challenge, I'd answer with only the regex.
So it's about 4am over here so I should probably head off to sleep :) Will see if I can get some progress tomorrow
Also @FryAmTheEggman I'll do the function thing later for square roots, my brain hasn't been working well today and I'm still not quite convinced xnor's suggestion's correct ( though I'm pretty sure it is)