title: Swift: Combine two or more regular expressions
body: <p>I'm using two regular expressions:</p>
  
  <pre><code>    var myNumbers  = numbers.text?.stringByReplacingOccurrencesOfString("[^0-9]", withString: "", options: NSStringCompareOptions.RegularExpressionSearch, range:nil)
  
  
  myNumbers  = myNumbers?.stringByReplacingOccurrencesOfString("^\\s*$", withString: "", options: NSStringCompareOptions.RegularExpressionSearch, range:nil)
  </code></pre>
  
  <p>I'm removing non number characters and spaces but there a way to combine the regular expressions ?</p>