I have a PDF file that goes like this:
Q1. How many planets are there? A. 1 B. 3 C. 8 D. 9
Answer: 8
Explanation: bla bla bla
Q2. How many moons are there? A. 1 B. 3 C. 8 D. 9
Answer: 1
Explanation: bla bla bla
Q3. Who is Alex's friend? A. Adam B. Donald C. Joe D. Jack
Answer: Joe
Explanation: bla bla bla
And so on upto Q100
How to remove the Answer and Explanation and only get the Questions, ie in the following format
Q1. How many planets are there? A. 1 B. 3 C. 8 D. 9
Q2. How many moons are there? A. 1 B. 3 C. 8 D. 9
Q3. Who is Alex's friend? A. Adam B. Donald C. Joe D. Jack
.... and so on upto Q100
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.