Given a file containing multiple strings (one in each line) - among them there will be the following two strings:
de12_QA_IR_OS_HV
de12_IR_OS_HV
(the only difference is "QA_" in the right position).
I need to perform some action if the current line being handled contains one of the above. if yes, i should use the string value without the "QA_" substring.
I am using the following regexp to detect the values /de12_(QA_)?IR_OS_HV/ but is there a way to remove the "QA_" if it exist using the same regexp ?