I am trying to do a general Assert.AreEqual call on some details in a table header, however I am struggling figuring out how to successfully format the expected results. The return value on the GetTableHeader call is as follows:
"× •••\r\nAcme Health Fund\r\nBalance Date: 9/27/2017"
I ONLY want to assert that the Acme Health Fund text is present. My current call is this:
Assert.AreEqual("/.*Acme Health Fund.*/" , GetTableHeader() );
How can I format my first parameter in the AreEqual call to ONLY expect "Acme Health Fund"?