I am trying to get values from the following text. How can this be done with Regex?
Lorem ipsum dolor sit %download%#456 amet, consect
Regex regex = new Regex("%download#(\\d+?)%", RegexOptions.SingleLine); Matches m = regex.Matches(input);
I think will do the trick (not tested).