[Solved] How do I find Roman Numerals in a string and make it all upper case in C#? [closed]


You could use Regex.Replace for converting matches to UpperCase. For example,

var result= Regex.Replace(text, pattern,c=>c.ToString().ToUpper());

1

solved How do I find Roman Numerals in a string and make it all upper case in C#? [closed]