B
Brubix
I have some text documents containing series of questions and answers.
I need to extract all questions and answers to load a database.
No problem in reading the text document or writing to the database.
I need help with the regexps to parse the document (please note that
some questions and answers extend on two or more lines).
This is an example of the documents I have to deal with:
*1) Is this the first question ?
a. Yes
b. No
*2) Is this question composed
of two lines ?
a. Yes, indeed
b. Maybe
c. I dont' know
Many thanks in advance,
Bruno
I need to extract all questions and answers to load a database.
No problem in reading the text document or writing to the database.
I need help with the regexps to parse the document (please note that
some questions and answers extend on two or more lines).
This is an example of the documents I have to deal with:
*1) Is this the first question ?
a. Yes
b. No
*2) Is this question composed
of two lines ?
a. Yes, indeed
b. Maybe
c. I dont' know
Many thanks in advance,
Bruno