I have extract to class names from the html file and each line contains the class name like
      </div><div id='css-11_uss_pss_sss-__i__' class='sss'> <div class="sss-top">
      </div><div id='css-42_aap-8' class='css'> <div class="sss-top">
I need to extract the 'uss_pss_sss' and 'aap-8' from different lines
I try this code it extracts the first condition.
            preg_match("/(?<=_).*?(?=-__i__)/", $buffer, $match);
How do i extract the second line?