SyntaxFix
Write A Post
Hire A Developer
Questions
Regex regex = new Regex("%download#(\\d+?)%", RegexOptions.SingleLine); Matches m = regex.Matches(input);
I think will do the trick (not tested).