I used pattern as the below. The complete text is a multiline string and the serach pattern can occur in any of these lines. So wherever the string starts with load , I would require to print the whole line of it.
Regex reg = new Regex(@"^load", RegexOptions.Multiline);
So, you didnt bother with the other half of my post then.
You dont seem to be debugging your code, as you dont seem to be able to show me what you found.. only that "heres some code, you look for yourself."
Thanks for your co-operation so far. The above code which was posted printed "load" thrice , but my expectation was to print the whole line starting with "load".
However, I have done away with regular expressions and is reading the text line by line using StreamReader and wherever it starts with load I get it .
May be it is not a bad idea, if I can get the regular expression to work .
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...