fork(2) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Console.WriteLine(
  9. Regex.Replace(
  10. "quickbrownfoxjumpsoverthelazydog"
  11. , "(.{5})"
  12. , "$1\r\n"
  13. )
  14. );
  15. }
  16. }
Success #stdin #stdout 0.08s 34048KB
stdin
Standard input is empty
stdout
quick
brown
foxju
mpsov
erthe
lazyd
og