Correctly use regex to extract id from project name.