Updated REGEX to limit trailing characters in SHOW/USE syntax