title: Using diff to ignore lines with certain patterns
body: <p>I have 2 files with certain strings that I want to ignore when I do a diff. 
  Here is an example</p>
  
  <pre><code>#### ide:0:0:&lt;!echo "Running commands on server instance name: Tower"
  Running commands on instance name: Tower0-0-1:5051
  ........
  #### ide:0:0:&lt;svl&gt;
  
  #### ide:0:0:&lt;!echo "Running commands on server name: Power"
  Running commands on instance name: Power0-0-1:5051
  ........
  #### ide:0:0:&lt;svl&gt;
  </code></pre>
  
  <p>I want to write a bash diff command that will ignore lines with patterns (or strings) such as 'Power' , '5051'. How can I write this ? 
  I tried</p>
  
  <pre><code>diff -I "*.5051.*" o1.txt o2.txt 
  </code></pre>