title: How to get a particular text form a string in jquery?
body: <p>How to extract a particular value form a textbox (string) and put it into another text box using j-query.</p>
  
  <p>assume that string- in textbox1</p>
  
  <pre><code>&lt;input type="text" id="full-name" value="HYDERABAD DECAN [HYB]"&gt;
  
  HYDERABAD DECAN [HYB]
  </code></pre>
  
  <p>I Want get as:</p>
  
  <pre><code>&lt;input type="text" id="code-name" value="HYB"&gt;
  </code></pre>
  
  <p>Get value from textbox1 which under '[......]' i.e HYB and set value on textbox2 value 'HYB'</p>
  
  <p>How to</p>