Last active
November 1, 2020 13:27
-
-
Save jakes2255/835f85efec1e87f25a3fbe6c4c56f243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onMobNumberChangeRegEx: function (oEvent) { | |
var input = oEvent.getSource(); | |
var mobNum = input.getValue(); | |
mobNum = mobNum.replace(/[^\d]/g, ''); | |
input.setValue(mobNum); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment