Rather than my fighting this all afternoon, I figured somebody might know
regular expressions better than I and be able to come up with a quick
solution.

I have an app where the system admin needs to be able to specify a custom
date string that will then be fed into the dateFormat() function.   The sys
admin has the option to use a combination of spaces, special characters, d,
m, y, etc. to build this date string - i.e. anything allowed for the
standard dateFormat() function.  I need to somehow validate their input
string before I give it to the dateFormat() function though.

Anybody got a quick regex solution to validate this string - or any other
suggestions?

Thanks
-- Jeff

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to