3v4l.org

run code in 300+ PHP versions simultaneously
<?php $markup = ' <div id="outer"> <ul id="ancTop"> <li style="font-family: arial; font-size: 9pt;"> <div style="overflow: hidden; width: 690px; height: 17px;"> &nbsp;                   <a href="#">                    A90&nbsp;-&nbsp;Lorem Ipsum                   </a>                 </div>               </li>               <li style="font-family: arial; font-size: 9pt;">                 <div style="overflow: hidden; width: 690px; height: 17px;">                   &nbsp;                   <a href="#">                    A85&nbsp;-&nbsp; Lorem Ipsum                   </a>                 </div>               </li> </ul> </div>'; preg_match( "#<ul.*?\">(.*?)</ul>#sg", $markup, $matches ); echo ($matches[0]);

preferences:
34.79 ms | 402 KiB | 5 Q