Updated regex to now match the title as well as the template