Regex to match tables containing uppercase