"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Vin wrote: > > > > Here is an example of what I'm talking about: > > > > Filename looks like this: MDcameraname20050108124537001A.JPG > > I would like the output to look like this: 01/08/2005 12:45:37 > > > > preg_match('/MDcameraname([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/ ', > $filename, $m); > > $m[1] - year > $m[2] - month > .... etc.
Thank you all for your help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php