Hello,
i want to use this term:
MatchCollection m1 = Regex.Matches(file, @"(.*? )", //hier muss ich den video filtern
RegexOptions.Singleline);
which is used to filter normal linkstext
RegexOptions.Singleline);
which is used to filter normal links
to filter a video file like that:
this does not work: .*?

ali tuncerRank #1,499 · 1.1K reputationPosted Apr 21, 2016, 8:59 PM EDT
try this way :
var regex = new Regex(@"(?<=\).*?(?=\)");
Hermann Hehn3 reputationPosted Apr 21, 2016, 10:55 PM EDT
ali tuncerRank #1,499 · 1.1K reputationPosted Apr 21, 2016, 11:41 PM EDT
Hi Hermann,
It is not a C# specialty, many languages support it. Same expression would work with PHP as well.