Simplified a regular expression