title: Replacing char sequence with char from string in java
body: <p>I want to replace all <strong>llpp</strong> with "<strong>&lt;</strong>" char and all <strong>llqq</strong> with "<strong>></strong>" from following string in a java code,</p>
  
  <pre><code>llpphtmlllqq
  llppheadllqqllpptitlellqqCompany Name-Companyllpp/titlellqqllpp/headllqq
  llppbodyllqqSome text herellpp/bodyllqq
  llpp/htmlllqq
  </code></pre>
  
  <p>I have above string and i want it to be</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;&lt;title&gt;Company Name-Company&lt;/title&gt;&lt;/head&gt;
      &lt;body&gt;Some text here&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>please help me</p>