extract REGEX to a constant