Skeleton for the php regex created, regex still needs filling in though