Re: [PHP] Reg Ex
- From: stuttle@xxxxxxxxx (Stut)
- Date: Fri, 31 Oct 2008 12:33:53 +0000
On 31 Oct 2008, at 12:27, Kyle Terry wrote:
I'm horrible with regular expression. I need to match the text before a file
extension. So if the file is called US.123.kyle.20081029.zip, I would then
need to match US.123.kyle.20081029.
No regex required. Why do people think everything like this needs a regex??
http://php.net/pathinfo
-Stut
--
http://stut.net/
.
- Follow-Ups:
- Re: [PHP] Reg Ex
- From: "Kyle Terry"
- Re: [PHP] Reg Ex
- References:
- Reg Ex
- From: "Kyle Terry"
- Reg Ex
- Prev by Date: Reg Ex
- Next by Date: Re: [PHP] Reg Ex
- Previous by thread: Reg Ex
- Next by thread: Re: [PHP] Reg Ex
- Index(es):