Split out regex.