Adrian Lynch wrote:

I'll have a pop...

        ^(F|K)[0-9]{4}(-[0-9]{1,2})?$

... any good?




Well, both entries are valid, but first place goes to Ade for brevity with honorable mention to Mark for his dedication to the cause. ;oD


Its easy in hindsight, but when you get too close you just can't see the way to go, you just need someone else to look at these things for you.

Thanks guys! Much appreciated.

Stephen



--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to