title: How to parse symnols/operators like '=,*,' ',===' present in HTML using python
body: <p>I have an HTML page which have operators like <strong>&lt;,&gt;,&amp;,=,===,'',‘</strong>   and also there will be some <strong>unwanted space</strong> before and after these operators. I want to parse these symbols/operators and unwanted space . there are some libraries like<br />
  <code>cgi parse, beautifulsoup ,html parser</code>  to achieve these but usage of these library is restricted to only &lt;,&gt;,&amp; operators .
  these operators are used in function and other entities to execute some task which are part of iHTML file</p>
  <p>below is one of the error while i am trying to use any of above libraries to achieve these</p>
  <p><strong>Parser message: Unexpected character ' ' (code 32) in content after '&lt;' (malformed start element?)</strong></p>
  <p>How can i achieve the parsing for other  symbols/operators using python</p>
  <p>Below are some example from HTML file</p>
  <pre><code>1. function toArray(iter) {
      if (iter === null) {
          return null;
      }
  
  2. let i = 0; i &lt; filterItems.length; i++
  </code></pre>