 
       return regex
 
-    extractNumbers: =>
-      if @val != null
-        return @val.match( @buildRegex() )
+    extractNumbers: (val) =>
+      matched = val.match( @buildRegex() )
+      if matched != "" && matched != null
+        return matched
 
     process: =>
       # Set the current value so we can access it anywhere
       # without having to read it all the time
-      @getVal()
-      extr = @extractNumbers()
+      extr = @extractNumbers( @getVal() )
+      console.log extr
 
       # If there are captured numbers
       if extr


      @decimalLimit = @$el.attr('data-limitdecimal') || @options.decimalLimit
      @numberLimit = @$el.attr('data-limitnumber') || @options.numberLimit

      @bind()
      @options.onInit( @$el, @getVal() )

      @$el.off 'input propertychange'

    getVal: =>
      @$el.val()

    setVal: (value) =>
      @$el.val( value )
