<?php

    $string = "stringa/stringb/123456789,abc,cde";
    $string = preg_replace('%.*/(.*?),.*%', '$1', $string );
    echo $string;