title: How to get particular part of string in java?
body: <p>I want to get the particular part of String from a complete word. </p>
  
  <p>For example:</p>
  
  <p>I have the following String.</p>
  
  <pre><code># STRING_VALUES #
  </code></pre>
  
  <p>and a sentence is as follows</p>
  
  <pre><code>&lt;p&gt;# STRING_VALUE #&lt;br /&gt;# CMESSAGE #&lt;br /&gt;# CUSTOMERADDRESS #&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>From the above, I want to get the string as follows:</p>
  
  <pre><code>STRING_VALUES
  CMESSAGE
  CUSTOMERADDRESS
  </code></pre>
  
  <p>How to do to get the above string? I am stuck with this.</p>