fork(13) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. class Demo {
  5. public static void Main()
  6. {
  7. String text = "faces=rect64(3f845bcb59418507),8e62398ebda8c1a5;rect64(9eb15e89b6b584c1),d10a8325c557b085";
  8. Regex re = new Regex(@"rect64\(([a-f0-9]+)\)");
  9. foreach (Match match in re.Matches(text)) {
  10. Console.WriteLine(match.Groups[1]);
  11. }
  12. }
  13. }
Success #stdin #stdout 0.08s 34144KB
stdin
Standard input is empty
stdout
3f845bcb59418507
9eb15e89b6b584c1