Shorten regular expressions