This content has been marked as final. Show 3 replies
797836 wrote:I don't see how regular expressions help at all with this problem ! What made you think they can help?
I am building a Q&A application which does have user to answer descriptive answer for the question(Text based answer rather than objective)
in this case how we can track the entered answer by the user is the correct one? how we can capture the entered answer and then check with the correct
answer in the DB? Yes we need to use a regular expression , but how we know that entered one is matching with the one in the DB
as the user can answer in lengthy or short form ? Hence please clarify how we can proceed?
Thanks. Please tell me how we can handle this better? any ideas are really appreciated.
Maybe search the answer for words you're expecting in a correct answer?