Extract date from input text

Hi,

I have an input text field where the user can enter text that might contain a date (MM/DD/YYYY). What is the best way to extract this date information from the input text?

I was thinking of doing the following in the interface object:

1) check if there is a date in the format above (this is standard)

2) if there is a date, extract if from the input text

3) then use the saveInto attribute to save the text information into a description variable and the extracted date into another variable for target date

Any guidance on functions to use/other ideas would be great.

Thank you in advance.

Roberta

  Discussion posts and replies are publicly visible