Right... but given the input, how do I determine which response to output
as "Correct" in the output?

On Wed, Sep 13, 2023 at 12:43 PM 'anotherhoward' via BBEdit Talk <
[email protected]> wrote:

> Each question has one correct response associated with it. See *Image 2.*
> Howard
>
> On Wednesday, September 13, 2023 at 12:34:59 PM UTC-4 Kevin Shay wrote:
>
>> How do you know which answer is correct for each question?
>>
>> On Wed, Sep 13, 2023 at 11:32 AM 'anotherhoward' via BBEdit Talk <
>> [email protected]> wrote:
>>
>>> The image below (*IMAGE 1*) shows a sample of the original format of
>>> the multiple choice questions I need to convert into another format. As
>>> there could be from 10-99 of them, I made the third sample #10 so that one
>>> has a double-digit number.
>>>
>>> If the solution can be presented in REGEX, that would be helpful;
>>> however, I am open to other solutions.
>>>
>>> Howard
>>>
>>> *IMAGE 1*
>>> [image: MC1.png]
>>> *The image after this one (IMAGE 2) shows how I need the first image's
>>> contents reformatted.*
>>>
>>> *Here is the input in text format:*
>>> 1. Why is the "Description" component important when reflecting on
>>> sports?
>>>    a) It helps you set future goals.
>>>    b) It provides context and sets the stage for reflection.
>>>    c) It summarizes the main lessons learned.
>>>    d) It assesses the positive and negative aspects.
>>>
>>> 2. Why is the "Evaluation" component important?
>>>    a) This is choice one.
>>>    b) This is choice two.
>>>    c) This is choice three.
>>>    d) This is choice four.
>>>
>>> 10. Why is the "Analysis" component important?
>>>    a) This is choice one.
>>>    b) This is choice two.
>>>    c) This is choice three.
>>>    d) This is choice four.
>>>
>>> *Here is how I need the first image's contents reformatted.*
>>>
>>> *IMAGE 2*
>>> [image: MC-1 reformatted.png]
>>> *In the reformat:*
>>> 1. Each item starts with "MC."
>>> 2. Immediately after "MC" is the multiple-choice question.
>>> 3. Then, for each item, there are the four possible answers, from
>>> "Choice 1" to "Choice 4."
>>> 5. Each possible answer is followed by "Correct" (once) and "Incorrect"
>>> (three times), with the position of "Correct" varying.
>>> 6. Each of an item's components except its last one needs to be followed
>>> by a TAB press. The last one in each item is followed by a RETURN.
>>>
>>> --
>>> This is the BBEdit Talk public discussion group. If you have a feature
>>> request or need technical support, please email "[email protected]"
>>> rather than posting here. Follow @bbedit on Twitter: <
>>> https://twitter.com/bbedit>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BBEdit Talk" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/bbedit/c26f2d21-c067-4489-8c90-0b9e7475c80dn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/bbedit/c26f2d21-c067-4489-8c90-0b9e7475c80dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "[email protected]"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/cfe82d64-2cde-491d-8179-4ef203cbf20cn%40googlegroups.com
> <https://groups.google.com/d/msgid/bbedit/cfe82d64-2cde-491d-8179-4ef203cbf20cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAKi-cfto7o1hiONUt75z048odnNjqk8PgW%2Bz3mPvq27ZK5vV8w%40mail.gmail.com.

Reply via email to