<?php $str = "<li>Want this</li>DON'T WANT THIS<li>Want this</li>DON'T WANT THIS<li>Want this</li>"; preg_match_all('/<li>(.*?)<\/li>/', $str, $out);
You have javascript disabled. You will not be able to edit any code.