I have tried many things but I can not figure out how go get a match on the following string
Here is my example. Btw using 2.0 compact framework if it matters.
string received = "AT+CMEE=1\r\r\nOK\r\n";
Regex regex = new Regex(received , RegexOptions.Multiline);
// I have tried many things
Match match1 = regex.Match(".*AT\+CMEE=1\r\r\nOK\r\n.*");
Match match2 = regex.Match(".*AT\\+CMEE=1\r\r\nOK\r\n.*");
Match match3 = regex.Match(".*OK.*"); // this one completely confuses me.
What am I doing wrong? Please help.
Thank you in advance.