moola Posted January 21, 2007 Share Posted January 21, 2007 [code]<td width="170" valign="top" onmouseover="FlyOver( 'ImSweetLikeThat5' );" onmouseout=[/code]Just wondering how I would get the ImSweetLikeThat5 from a html page with numerous code that resembles the above code except has different flyover names. I need to match all the names in the code and store them in a variable so I could view each one. Thanks Quote Link to comment Share on other sites More sharing options...
effigy Posted January 22, 2007 Share Posted January 22, 2007 [tt]preg_match_all("/(?<=FlyOver\(\s')([^']+)(?='\s\))/", $data, $matches);[/tt] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.