Not wanting to take bobble bubble credit but I can't comment so I'll comment it here.
In case of several servicecodes in that file then (?s)###(?=.*/Services/([^"]+)") takes always last one. Adding ? to =.* in (?s)###(?=.*?/Services/([^"]+)") makes it to choose next match.