hi good evening,
i am trying to change the brackets for the following inputs such as any thing given within "[ ]" i want that to be replaced by "( )?" the bracket change followed by question mark the other things should be the same
apple[s]
apple|Mango[es]
Mango[s]
Papaya[s] | apple | mango
Papaya | apple
Expected output
apple(s)?
apple|Mango(es)?
Mango(s)?
Papaya(s)? | apple | mango
Papaya | apple
i have taken this in a file and now i have that
string s
here i am getting only the same output.
there is no change in the input and output. can any body help me ?