was wondering if anyone could help me find the regular expression for this problem. I'd like to replace the following using Visual Studio 2010's built in Find/Replace function:
_batch.AddInstruction(InstructionType.Update, "LEG_RES_ID", "N")
with
_batch.AddInstruction(InstructionType.Update, BpcFields.LegResId, "N")
The "LEG_RES_ID" is a placeholder, multiple different strings can occur here. For any string in that position, the equivalent member of BpcFields will be a Pascal-case version of the same string, without the underscores, as in the example above.
Many thanks in advance!