fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3. public class Test
  4. {
  5. public static Regex regex = new Regex(
  6. "\"text\":\"(.?[^<]*)<",
  7. RegexOptions.IgnoreCase
  8. | RegexOptions.Multiline
  9. | RegexOptions.CultureInvariant
  10. | RegexOptions.IgnorePatternWhitespace
  11. | RegexOptions.Compiled
  12. );
  13.  
  14. public static void Main()
  15. {
  16. string json = Console.ReadLine();
  17. string result = regex.Replace(json,"");
  18.  
  19. Console.WriteLine(result);
  20.  
  21.  
  22. }
  23. }
Success #stdin #stdout 0.08s 37312KB
stdin
{"slides":[{"num":0,"components":[{"size":72,"family":"'Lato', sans-serif","color":"grey","style":"","weight":"","x":361.3285996055227,"y":153.29704142011838,"scale":{"x":1,"y":1},"type":"TextBox","text":"идфид<br>","selected":false},{"src":"http://p...content-available-to-author-only...r.fr/programmation/images/mozodojo-original-image.jpg","x":-262.5913134484562,"y":373.8571670088155,"scale":{"x":3.321640188405782,"y":2.3749300238380946,"width":1195.7904678260816,"height":876.3491787962569},"type":"ImageModel","imageType":"JPG","selected":false,"rotate":0.34733612260703295}],"z":0,"impScale":1,"rotateX":0,"rotateY":0,"rotateZ":0,"selected":true,"active":true,"x":30,"y":80}],"activeSlide":{"num":0,"components":[{"size":72,"family":"'Lato', sans-serif","color":"grey","style":"","weight":"","x":361.3285996055227,"y":153.29704142011838,"scale":{"x":1,"y":1},"type":"TextBox","text":"идфид<br>","selected":false},{"src":"http://p...content-available-to-author-only...r.fr/programmation/images/mozodojo-original-image.jpg","x":-262.5913134484562,"y":373.8571670088155,"scale":{"x":3.321640188405782,"y":2.3749300238380946,"width":1195.7904678260816,"height":876.3491787962569},"type":"ImageModel","imageType":"JPG","selected":false,"rotate":0.34733612260703295}],"z":0,"impScale":1,"rotateX":0,"rotateY":0,"rotateZ":0,"selected":true,"active":true,"x":30,"y":80},"fileName":"asdasd"}
stdout
{"slides":[{"num":0,"components":[{"size":72,"family":"'Lato', sans-serif","color":"grey","style":"","weight":"","x":361.3285996055227,"y":153.29704142011838,"scale":{"x":1,"y":1},"type":"TextBox",br>","selected":false},{"src":"http://p...content-available-to-author-only...r.fr/programmation/images/mozodojo-original-image.jpg","x":-262.5913134484562,"y":373.8571670088155,"scale":{"x":3.321640188405782,"y":2.3749300238380946,"width":1195.7904678260816,"height":876.3491787962569},"type":"ImageModel","imageType":"JPG","selected":false,"rotate":0.34733612260703295}],"z":0,"impScale":1,"rotateX":0,"rotateY":0,"rotateZ":0,"selected":true,"active":true,"x":30,"y":80}],"activeSlide":{"num":0,"components":[{"size":72,"family":"'Lato', sans-serif","color":"grey","style":"","weight":"","x":361.3285996055227,"y":153.29704142011838,"scale":{"x":1,"y":1},"type":"TextBox",br>","selected":false},{"src":"http://p...content-available-to-author-only...r.fr/programmation/images/mozodojo-original-image.jpg","x":-262.5913134484562,"y":373.8571670088155,"scale":{"x":3.321640188405782,"y":2.3749300238380946,"width":1195.7904678260816,"height":876.3491787962569},"type":"ImageModel","imageType":"JPG","selected":false,"rotate":0.34733612260703295}],"z":0,"impScale":1,"rotateX":0,"rotateY":0,"rotateZ":0,"selected":true,"active":true,"x":30,"y":80},"fileName":"asdasd"}