title: sed command to delete the lines with pattern "></" and "/>"
body: <p>I am trying to use the sed command to delete lines in a file with the pattern <code>"&gt;&lt;/"</code> and <code>"/&gt;"</code></p>
  
  <pre><code>sed -i '/\/&gt;/d' $1       --&gt; Works fine
  sed -i '/&gt;/&lt;/\//d' $1    --&gt; Error=&gt;   sed: -e expression #1, char 4: unknown command: `&lt;'
  </code></pre>
  
  <p>Can anyone please suggest a solution for the second one ?</p>
  
  <p>and if I can combine both pattern checks in one sed command ?</p>