I'm trying to get the string between the symbols of a Regular Expression, but it seems to found nothing in the TextBox
var ph = txtCodigo.Text;
foreach(Match m in
Regex.Matches(ph,@"${(.*?)}$",RegexOptions.IgnoreCase))
{
lstParams.Items.Add(m.Groups[1].ToString());
}
I expect the string betwwen this symbols ${ }$, but the actual output is nothing