Simple grep in .net

I have been meaning to write a simple grep program which looks through the incoming pipe for a regex and either replaces or matches the lines found for a while.  However I haven’t had enough reason to do it up until now, when I had to process 100 files replacing something which required a zero…

1