I have a pattern of type anystring_OPCtarget_anystring.
Can I get some help as how to verify if the string between the 2 underscores is of type "OPC(target)"
and pull out the target using regex.
Suppose if my string is: MP700000001_OPC32_812345643
first, I need to verify if the string between underscores starts with OPC
and then get the target text after OPC
and before the 2nd underscore.
Help appreciated!!!
Thank you
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…