title: RegExp Extract text from a template
body: <p>I've a question about regular expression and javascript. The user will have a input with the following template as text (it will change according to the user's selection) as example:</p>
  
  <pre><code>Accessories &lt;accessory type&gt; for a Group, for &lt;What Purpose&gt;
  </code></pre>
  
  <p>Now the user will modify the input text and let's say it end up like this.</p>
  
  <p>Accessories of <em>my printer</em> for a Group, for <em>my computer</em></p>
  
  <p>I want to see if i can extract from that text the values for  if that case it will be 'my computer'. There will be case where i modify completely the text, but i can take out of the equation for now.</p>
  
  <p>Can it be done with a regular expression? or is there something or lib to help me with this?</p>
  
  <p>Thanks and regards,</p>