Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Source: Hi [name] how are you [other]?
- Result: Hi [NAME] how are you [OTHER]?
- public static string VariablesToUpperCase(this string input)
- {
- string pattern = @"[w+]";
- string replacement = "??????";
- Regex rgx = new Regex(pattern);
- return rgx.Replace(input, replacement);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement