Does anyone know how to add forward slashes into regular expressions? I am trying to create a date field in the format of DD/MM/YYYY, i have set it up to only allow number and only 8 of them, just need to workout how to add forward slashes in. I would use the date field already in WFB but you have to go through each mouth in order to get to the year you want.
Thanks, David...
http://www.coffeecup.com/help/articles/ … xpressions
Hope that helps, haven't looked at it, but that's the 2 articles that CC has about Reg. Expressions. Jo Ann
http://lbwebsites.com - Affordable Web Design & Hosting
http://cattownrescue.org ... Love this site! Love cats! This site was definitely fun to do
http://northbaldwinliteracycouncil.org .... Our local Literacy Council
Hope that helps, haven't looked at it, but that's the 2 articles that CC has about Reg. Expressions. Jo Ann
http://lbwebsites.com - Affordable Web Design & Hosting
http://cattownrescue.org ... Love this site! Love cats! This site was definitely fun to do
http://northbaldwinliteracycouncil.org .... Our local Literacy Council
Another great resource to try out is:
http://regexlib.com
They have tons of user submitted samples online, including a way to test them online. I think the first entry in their date section is just what you need:
http://regexlib.com/Search.aspx?k=date
Just change the {1,2} options to {2} (enforcing 2 digits are specified, not 1 or 2) and you should be set.
If you get a chance, take the time to learn regular expressions. They opened up my coding to a whole new realm of possibilities because they are THAT powerful!
Hope this helps!
[:: Sean ::] http://about.me/dillieo
Code slinger... Egg hunter extraordinaire...
http://regexlib.com
They have tons of user submitted samples online, including a way to test them online. I think the first entry in their date section is just what you need:
http://regexlib.com/Search.aspx?k=date
Just change the {1,2} options to {2} (enforcing 2 digits are specified, not 1 or 2) and you should be set.
If you get a chance, take the time to learn regular expressions. They opened up my coding to a whole new realm of possibilities because they are THAT powerful!
Hope this helps!
[:: Sean ::] http://about.me/dillieo
Code slinger... Egg hunter extraordinaire...
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.