title: Split a string and separate by punctuation and whitespace
body: <p>I have some strings, for example: <code>I: am a string, with "punctuation".</code>
  I want to split the string like:</p>
  
  <pre><code>["I", ":", "am", "a", "string", ",", "with", "\"", "punctuation", "\"", "."]
  </code></pre>
  
  <p>I tried <code>text.split("[\\p{Punct}\\s]+")</code> but the result is <code>I, am, a, string, with, punctuation</code> ...</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/6162600/how-do-you-split-a-javascript-string-by-spaces-and-punctuation">this</a> solution but Java doesn't allow me to split by <code>\w</code> .</p>