title: dart regex remove space phone
body: <p>I tried all this regex solution but no match <a href="https://stackoverflow.com/questions/16267488/regex-remove-space">REGEX Remove Space</a></p>
  
  <p>I work with dart and flutter and I tried to capture only digit of this type of string : </p>
  
  <p>case 1</p>
  
  <pre><code>     aaaaaaaaa 06 12 34 56 78  aaaaaa 
  </code></pre>
  
  <p>case 2</p>
  
  <pre><code>    aaaaaaaa 0612345678 aaaaaa 
  </code></pre>
  
  <p>case 3</p>
  
  <pre><code>   aaaaaa +336 12 34 56 78 aaaaa
  </code></pre>
  
  <p>I search to have only 0612345678 with no space and no +33. Just 10 digit in se case of +33 I need to replace +33 by 0</p>
  
  <p>currently I have this code \D*(\d+)\D*? who run with the case 2</p>