I am using C# to search a paragraph and see if it contains a sentence like this: "... ... The amount $5,234.12 does not match our record. Please ... ..."
What I am interested is the sentence "The amount [whatever] does not match our record." However, how do I make the dollar amount a wildcard? I don't really care what the dollar amount is, I just want to check this sentence pattern exists in the paragraph.
Should I use RegEx? How? I would hate to just search for "The amount", and then followed by "does not match our record". Feel like there is a better way. Thanks!