Extracted windows detection regex

Saw this on r/AceAttorney. My ruby-fu is rather lacking, but if you're up for it I'll see what I can do.