title: Regex in Python to match words with special characters
body: <p>I have this code</p>
  
  <pre><code>import re
  
  str1 = "These should be counted as a single-word, b**m !?"
  match_pattern = re.findall(r'\w{1,15}', str1)
  
  print(match_pattern)
  </code></pre>
  
  <p>I want the output to be:</p>
  
  <pre><code>['These', 'should', 'be', 'counted', 'as', 'a', 'single-word', 'b**m']
  </code></pre>
  
  <p>The output should exclude non-words such as the "!?" what are the other validation should I use to match and achieve the desired output?</p>