I want to match the answer blocks (the bold ones).
A) I ve II B) III ve IV C) III ve IV D) III ve IV E) III ve IV
So far i wrote this.
(?:[A|B|C|D|E]\) )
It match this
A) I ve II B) III ve IV C) III ve IV D) III ve IV E) III ve IV
But when i append (.*) to it it matches
A) I ve II B) III ve IV C) III ve IV D) III ve IV E) III ve IV
How i can reverse match the regex that i wrote?
I need to reverse match the text because it can be everything on this block. A) example B) hello C) world D) goodbye E) something else
Thank you,