ASfdsa33 ASfdsa33 - 1 year ago 82
C# Question

Looking for an regular expression for "${sometext}"

What I found out using this


So I tried:
new Regex(@"\\$\\${(.*?)\\}");

But this seems not to work, whats the problem here ?

Answer Source

I would use new Regex(@"\${(.*?)}");

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download