fork(34) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var result = Regex.Match("000AB22CD1234", @"\d+$", RegexOptions.RightToLeft);
  8. if (result.Success)
  9. {
  10. Console.Write(result.Value);
  11. }
  12. }
  13. }
Success #stdin #stdout 0.02s 133824KB
stdin
Standard input is empty
stdout
1234