title: Deleting all number characters in a MS Word document
body: <p>I tried to remove all of number characters that exist in a Word document, however, my code is useless because it is too slow, the problem is that I use <code>Document.Characters</code> to enumerate through characters, but it takes a lot of time to enumerate through every character in a document.  </p>
  
  <p><strong>So my question is:</strong><br>
  Is there any fast way of enumerating through and manipulating all characters in a Word document?</p>
  
  <p><strong>Here is my code:</strong></p>
  
  <pre><code>    Word.Application wordApp = new Word.Application();
      Word.Document doc = wordApp.Documents.Open(path);
      object obj = Word.WdUnits.wdCharacter;
  
      foreach (Word.Range range in doc.Characters)
      {
          char c = range.Text[0];
  
          if (c &gt;= 0x30 &amp;&amp; c &lt;= 0x39)
          {
              range.Text = "";
  
              Console.WriteLine("Removed {0}", c);
          }
      }
  </code></pre>