using System;
using System.Text.RegularExpressions;
class Test
{
public static void Main()
{
string pattern = @"\$\d+";
Regex rgx = new Regex(pattern);
string inputStr = "All Customers Take $10 off $50 in ccc.com's Home Decor, Home Appliances and Outdoor Store! Valid through 5/31/2012";
string outputStr = rgx.Replace(inputStr, "<span style=\"text-decoration:underline\">$&</span>" );
Console.WriteLine("Pattern: \"{0}\"", pattern);
Console.WriteLine("Input string: \"{0}\"", inputStr);
Console.WriteLine("Output string: \"{0}\"", outputStr);
}
}
That should do it. As Pete already mentioned you may have to adjust the pattern to recognize other numbers with decimal separators etc. as well.
Best,
Manfred