NOTE: This is not a simple string replace question.
SomethingBlahBlah can be #SomeThingOtherthanThis
My case is as follows, I have a large string (<1024B, but >300B), that will have {#String} and {$String}.
To be more specific {#SomethingBlahBlah} and {$SomeOtherThingBlahBlah}, so in regexp {#w+} and {$w+}
My first question is, are regexps the only way to do it? I'd love a string replace solution or such, and secondly if it is, is there a way to just do one compiled regex and do a single pass through?
Can Linq help by any chance?