Advertisement
fbinnzhivko

Untitled

Jun 4th, 2016
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System;
  2. using System.Text.RegularExpressions;
  3. class ParseTags
  4. {
  5.     static void Main()
  6.     {
  7.         string text = Console.ReadLine();
  8.         Console.WriteLine(Regex.Replace(text, "<upcase>(.*?)</upcase>", word => word.Groups[1].Value.ToUpper()));
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement