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 tuncerPosted Apr 22, 2016, 12:59 AM
try this way :
var regex = new Regex(@"(?<=\).*?(?=\)");
ali tuncerPosted Apr 22, 2016, 3:41 AM
Hi Hermann,
It is not a C# specialty, many languages support it. Same expression would work with PHP as well.
Hermann HehnPosted Apr 22, 2016, 2:55 AM