Use of char here causes it to be boxed
Moved regular expressions into SqlUtility

Made some efficiency improvements to capture logic