Seems pretty simple but i'm having problems coming up with a good method to do this. This should be possible with the regex.replace in .NET VB... Sorry but I'm fairly rookie at Regex...
I have a long string with contains a sales receipt.... I do not want to display the dollar amounts under certain instances, so i want to replace all amounts with 0.00 before displaying the string. ie.
original string:
Order Details: item one 1 @ $33.99 $33.99 item two 100 @ $3.99 $399.00 item three 10 @ $333.99 $3339.90 Subtotal: 33333.99 Shipping: 10.27 Tax: 0.00 Total: 444444.26
after replace:
Order Details: item one 1 @ $0.00 $0.00 item two 100 @ $0.00 $0.00 item three 10 @ $0.00 $0.00 Subtotal: 0.00 Shipping: 0.00 Tax: 0.00 Total: 0.00
Thanks, Todd.