Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var parse = instance.ActiveTab.DomText;// или замени на свою переменную, если не будет работать.
- parse = Regex.Replace(parse,@"<.*?>","");
- string clear_text = "";
- List <string> tmp_Chase = Regex.Matches(parse, @"Chase.*?\$[0-9\.\,]+").Cast<Match>().Select(y=>y.Value).ToList();
- project.SendInfoToLog(tmp_Chase.Count.ToString());
- for (int x=0; x<tmp_Chase.Count; x++){
- var tmp_item = tmp_Chase[x];
- string clear_item = Regex.Replace(tmp_item,@"Last\ sync.*?Unlink\ ","");
- clear_text = clear_text + clear_item + "\n";
- }
- project.SendInfoToLog(clear_text);
- return clear_text;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement