On Fri, Feb 13, 2004 at 02:19:11PM -0500, joel boonstra wrote: <snip> > if (preg_match('/<img src=["\'](.*?)\.(.*?)["\']>/ig', $dah, $matches)) { > print_r($matches); > }
Doh! The '/ig' should just be '/i'. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php