title: Javascript Regex, need to allow the user to select only word(s)
body: <p>I have a paragraph, in the text, user only need to select the valid text. they should not select just a <code>space</code> or nay special charector. so user can select a valid text or number. for that i am trying using <code>regex</code> like this</p>
  
  <pre><code>\b(.+)\b
  </code></pre>
  
  <p>But not working. as a paragrap, i would like to avoid selecting meaning less.</p>
  
  <p>Any one help me?</p>