title: remove special characters in a xml file using sed command
body: <p>I'm trying to replace special character (.) from an XML file using:</p>
  
  <pre><code> find . -type f -name "*.XML" -exec sed -e 's/\.//g' {} +
  </code></pre>
  
  <p>My file content is as below and the string value is dynamic or repetitive. It has to specifically search for this and replace the contents ignoring the special characters.</p>
  
  <p>Example 1:</p>
  
  <pre><code>&lt;TotalSum&gt;1000.01&lt;/TotalSum&gt;&lt;Info&gt;&lt;Value&gt;DDAB.A1234 1000.01&lt;/Value&gt;&lt;/Info&gt;
  </code></pre>
  
  <p>Output should be as </p>
  
  <pre><code>&lt;TotalSum&gt;1000.01&lt;/TotalSum&gt;&lt;Info&gt;&lt;Value&gt;DDABA1234 1000 01&lt;/Value&gt;&lt;/Info&gt;
  </code></pre>
  
  <p>Example 2:</p>
  
  <pre><code>&lt;TotalSum&gt;300.89&lt;/TotalSum&gt;&lt;Info&gt;&lt;Value&gt;A.1234567 100.14 B.1234567 200.75&lt;/Value&gt;&lt;/Info&gt;
  </code></pre>
  
  <p>Output should be as </p>
  
  <pre><code>&lt;TotalSum&gt;300.89&lt;/TotalSum&gt;&lt;Info&gt;&lt;Value&gt;A1234567 100 14 B1234567 200 75&lt;/Value&gt;&lt;/Info&gt;
  </code></pre>
  
  <p>The script I was trying to execute was as below as I only need to remove special chars from <code>&lt;Value&gt;</code> field:</p>
  
  <pre><code>$search_text=`grep -i Value filename`
  for i in $search_text
   do
      sed -e 's/\.//g'
   done
  </code></pre>