Şu şekilde denermisin hocam;

 preg_match('<td class="msValueA">(\d+)</td>[\s\S]+<td class="msValueB">(\d+)</td>#si',$html,$dizi);