//Successful [% New Comment %] other content from input //Match: [%\r\nNew Comment\r\n%] //Fail [% New Comment %] //Match: false //Successfully match single line with string commentPatt = @"\[%(.*)%\]"; //Match: [% New Comment %]
//Successful [% New Comment %] other content from input //Match: [%\r\nNew Comment\r\n%] //Fail [% New Comment %] //Match: false //Successfully match single line with string commentPatt = @"\[%(.*)%\]"; //Match: [% New Comment %]