0

I some MCQ questions and I need to change the answers start from

(A) answer  
(B) answer   
(C) answer   
(D) answer   
(E) answer    

TO

A) answer    
B) answer   
C) answer   
D) answer   
E) answer   

There is another problem, is there some questions comes only with 3 answers like a, b and c and some comes with 4 answers .. even some with only 2 answers as just A) and B).

Is there a way to make the changes and maintain the questions and the answers intact?

2 Answers 2

0

This will only remove open parenthesis at the beginning, not inside the answers.

  • Ctrl+H
  • Find what: ^\h*\K\(
  • Replace with: LEAVE EMPTY
  • CHECK Wrap around
  • CHECK Regular expression
  • Replace all

Explanation:

^           # beginning of line
\h*         # 0 or more horizontal spaces
\K          # forget all we have seen until this position
\(          # open parenthesis, have to be escaped as it has special meaning in regex

Screenshot (before):

enter image description here

Screenshot (after):

enter image description here

0

Open find and replace with Ctrl+H

In Find what: enter (

Keep Replace with: empty

Click Replace all

As long as there is no other occurence of ( this will work, if there is, you need to provide at least a text example.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .