A regex utility to output a regex from an array of strings.