title: Java string splitting with '?' character using regex
body: <p>I want to split the following string:</p>
  <p><code>&quot;select ?1 from students in ?2&quot;</code></p>
  <p>I want to split it so that it becomes an array <code>[&quot;select&quot;, &quot;from students in&quot;]</code>, how do I achieve this? I've tried <code>str.split(&quot;[?\\\d]&quot;)</code>, but this splits the string whenever it encounters '?' or a digit, but I wanted '?' and the digit to be treated as a single string</p>