title: How to regex number, and to keep comma, whitespace and dot in the output string?
body: <p>I've got a problem with a regex, I need to extract a string from text and keep whitespace, coma and dot in the number(if it is exists), example: Lorem impsum the price is:196 000,2545.20 $ blablabla, 
  Output:<br>
  <strong>196 000,2545.20</strong>  </p>
  
  <p>Example2:2530002545.20 £,
  Output:<br>
  <strong>2530002545.20</strong></p>
  
  <p>I did the following:</p>
  
  <pre><code>String exampleStr = "Lorem impsum the price is:196 000,2545.20 $ blablabla"
  String result = exampleStr.replaceAll("[^\\d.,]", " ")
                            .replaceAll(/\s*$/,'')
  </code></pre>
  
  <p>Firstly replace everything that is not whitespace, comma, dot or whitespace(to keep it in the number), secondly removed spaces from the end of the string.
  This solution works, BUT I want to re-do it in a more proper way, to keep that white space inside and remove others from the beginning and the end of the 'price'. 
  Ps: I really don't understand how to combine these two regexes, looking forward to your answers. Peace!  </p>