fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. String fullCode = "Enum resultado = SPDialogBox.Instance.show<ACTION_ENUMs.TORNEO_SORTEAR>(\"Esto es una prueba\");\r\n"
  9. + "pKR_MESAPUESTOASIGNACION.CONFIGTORNEO_ID = Valid.GetInt(dr.Cells[\"CONFIGTORNEO_ID\"].Value);";
  10. String pattern = @"(?<!\[)\x22(.*?)\x22";
  11. var matches = Regex.Matches(fullCode, pattern, RegexOptions.Multiline);
  12. foreach (Match m in matches)
  13. {
  14. Console.WriteLine(m.Groups[1]);
  15. }
  16.  
  17. }
  18. }
Success #stdin #stdout 0.07s 38248KB
stdin
Standard input is empty
stdout
Esto es una prueba