Share
$pattern = '/(?<=customProgramName=\')(.*?)(?=\')/';
Matches anything after "customProgramName=' " and before the closing " ' ".
Took me forever to figure this out!!!!