Regex Replace Between Quotations

Posted by Kyle Rozendo on Stack Overflow See other posts from Stack Overflow or by Kyle Rozendo
Published on 2010-03-23T11:35:30Z Indexed on 2010/03/23 11:53 UTC
Read the original article Hit count: 682

Filed under:
|
|

Hi All,

I am wondering on where to begin to perform the following replace in regex:

  1. Read file (.cs file)
  2. Replace anything between quotations ("e.g:") with its uppercase version ("E.G:")

By example:

string m = "stringishere";

Becomes

string m = "STRINGISHERE";

Thanks in advance,

Kyle

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#