Regular PHP

Help correct the regular to work on PHP preg_match_all ()
Pattern such:

  :</span><div>(.+?)</div>

Source text:

<li class='catalog-list-linkedstyles'><span class='catalog-list-title'>  </span><ul><li class='catalog-list-item'><span>:</span><div>Wm's Trestles 30 Long</div></li>

How should it look for PHP this regular expression?


Answer 1, Authority 100%

something like this:

$res = array();
preg_match_all('/:<\/span><div>([\n.]+?)<\/div>/m', $var, $res );
print_r( $res );