Hi all,
I’m facing issue in extracting text from this text file.
Sample20231109-5L (2).zip (3.7 KB)
There is sample code in that present I’m able to extract question and answer.
Now i want to extract the options also can anyone help me. I need this like 1 by 1 .
First question then options 1 by 1 and in last solution
Below regex i tried but not getting any output.
System.text.regularexpressions.regex.matches(my variable,“(?\d+. .+?)/n/s*(a).+?\n\sb).+?\n\sc).+?\n\sd).+?)\n\sanswer\s*(?[a-d])”).
@Yoichi
can you help me on this. The attached code is which you have sent yesterday. If you get time please check once.