iphone - Regex for date in user entered textfield
- by vikinara
Hi all,
Am a newbie to iphone programming.
i have a input box and the user can write his DOB(mm/dd/yyyy) into the box.
Before i save the data i like to test for valid input. I am using Regexlite.h and Regexlite.m.i have the regular expression too. i want to compare the regex to the user entered value in text box.But am not knowing how to do it.Please help.
Any idea how to test for a valid date? (in .NET i use a simple regex but for the iPhone sdk i am a bit helpless) - but somebody must have been done this before...
Thanks
Viki