title: removing text between "/*" and "*/" (Block Comments)
body: <p>I am trying to remove block comments reading from a text file.
  So all text between '/<em>' and '</em>/' should be removed. The reader reads line for line and that where the problem comes in.
  This is what i have so far:</p>
  
  <pre><code>        StringBuilder buildString = new StringBuilder();
  
          using (StreamReader readFile = new StreamReader(filePath))
          {
              string line;
              // reads the file line by line
              while ((line = readFile.ReadLine()) != null)
              {
                  //replaces the line if it has "--" in it.
                  line = Regex.Replace(line, @"--.*$", "");
  
                  if (line.StartsWith("/*"))
                  {
                      while ((line = readFile.ReadLine() ) != null)
                      {
                          //remove line untill the last line '*/'
                          if (line.StartsWith("*/"))
                          {
                              //Then Stop removing lines and go back to the main while.
                          } 
                      }
                  }
  
                  buildString.Append(line + Environment.NewLine);
              }
  </code></pre>
  
  <p>Any suggestions or help?
  Thanks</p>