I am working on a question bank generator using vb.net. Each question has 4 options which starts with a tab and 1),2)3),4)
I am using [^\(|\d][1-4]\)
, "#" which replaces 1),2),3),4)(option numbers) with #
But it also replaces 1), 2), 3),4) when ever it comes in the Question and Options with #.
Example
17. Specific heat of certain element is 0.064, its approximate atomic mass is
1) 100 U 2) 10 U 3) 20 U 4) Both 2) and 3)
Output is
17. Specific heat of certain element is 0.064, its approximate atomic mass is
# 100 U # 10 U # 20 U # Both # and #
Expected
17. Specific heat of certain element is 0.064, its approximate atomic mass is
# 100 U # 10 U # 20 U # Both 2) and 3)