The code I posted works just fine with the sample data you posted. For example, it turns:
Quote:
1- Paul found it much easier to use a pencil
for taking notes as he could .......... mistakes,
which he made plenty of, very easily.
A) type B) erase C) deter
D) furnish E) release
|
into:
Quote:
1- Paul found it much easier to use a pencil for taking notes as he could .......... mistakes, which he made plenty of, very easily.
A) type B) erase C) deter D) furnish E) release
|
The most likely cause of the error is that you're using a system with non-English regional settings (which you didn't tell us about), in which case you need to replace all four instances of:
,}
in the code with:
;}