fork(3) download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Globalization;
  6. using System.Text.RegularExpressions;
  7.  
  8. namespace JHTMLLET
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. string a = @"
  15. <html>
  16. <head>
  17. <TITLE>To jest tytul</Title>
  18. </head>
  19. <body>
  20. <b>Cos tam</b>
  21. </body>
  22. </html>";
  23. a = Regex.Replace(a, @"<(.|\n)*?>", m => m.Value.ToUpper());
  24. Console.WriteLine(a);
  25. Console.ReadKey();
  26.  
  27. }
  28. }
  29. }
  30.  
Success #stdin #stdout 0.07s 37160KB
stdin
Standard input is empty
stdout
                        <HTML>
                        <HEAD>
                        <TITLE>To jest tytul</TITLE>
                        </HEAD>
                        <BODY>
                        <B>Cos tam</B>
                        </BODY>
                        </HTML>