title: String split issue based on pattern matching in java
body: <p>I want to split <code>GigabitEthernet0/1</code> to <code>GigabitEthernet</code> and <code>0/1</code>.
  I tried using , </p>
  
  <pre><code>str.split("(?&lt;=\\D)(?=\\d)|(?&lt;=\\d)(?=\\D)");
  </code></pre>
  
  <p>But did not get correct result. What pattern should I use. The second part is not just digit, it also contains "/".</p>
  
  <p>In my use case I may also have <code>GigabitEthernet0</code> which can be split to <code>GigabitEthernet</code> and <code>0</code>.</p>
  
  <p>What could be the right regex?</p>