I'm using this code for validating input in a textfield. (In the TextChanged event).
It gives numbers only (integers).
Is there a Regex expression that will allow for decimal numbers?
It gives numbers only (integers).
B4X:
Try
Dim text As String = Regex.Replace("\D",New,"")
If New <> text Then
updatetext = True
End If
Catch
Is there a Regex expression that will allow for decimal numbers?