title: Java Regular Expression to Replace all spaces surrounded by digits by a character
body: <p>I want to replace the spaces surrounded by digits or numbers by <code>-</code>.</p>
  
  <p>so if my string is <code>I am Bob 12 12</code> This should get transformed to <code>I am Bob 12-12</code>.</p>
  
  <p>Please suggest some possible answers using <code>Java</code>.</p>