title: Java Regex to extract numbers and strings from a string
body: <p>I want to extract numbers and strings from a string.</p>
  <p>Ex.</p>
  <blockquote>
  <p>&quot;TU111 1998 SUMMER”</p>
  <p>&quot;TU-232 SU 1999&quot;</p>
  <p>&quot;TU232 1999 SUMMER&quot;</p>
  </blockquote>
  <p>I was able to get it using two patterns <code>Pattern.compile(&quot;\\d+&quot;)</code> and <code>Pattern.compile(&quot;[a-zA-Z]+&quot;)</code>
  Is there a way to get it using one pattern?</p>
  <p>The expected outcome should be</p>
  <blockquote>
  <p>1=&gt;TU 2=&gt; 111/232 3=&gt;1998/1999 4=&gt;SUMMER/SU</p>
  </blockquote>