fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var str = @"
  9. ...<th scope=""colgroup""><a href=""/Qur%27an/Luhaidan/001.mp3""><img src=""...
  10. ...<th scope=""colgroup""><a href=""/Qur%27an/Luhaidan/002.mp3""><img src=""...
  11. ...<th scope=""colgroup""><a href=""/Qur%27an/Luhaidan/114.mp3""><img src=""...
  12. ";
  13. foreach (Match m in Regex.Matches(str, "href=\"(.*?[.]mp3)\"")) {
  14. Console.WriteLine(m.Groups[1]);
  15. }
  16. }
  17. }
Success #stdin #stdout 0.07s 34152KB
stdin
Standard input is empty
stdout
/Qur%27an/Luhaidan/001.mp3
/Qur%27an/Luhaidan/002.mp3
/Qur%27an/Luhaidan/114.mp3