i have a requirement where i need to enter 25 digits for a text field and i don't allow the user to enter any alphabets or symbols i need write a validation this can be done with the help of regexmatch function but now it is deprecated how to write validation. pls help me with code.
Discussion posts and replies are publicly visible
Who says this is deprecated?
This alternative checks for each digit if it is in 0-9
a!localVariables( local!string: "0956787x65678", all(contains(char(48 + enumerate(10)), _), char(code(local!string))) )
You can also add char(32) inside the contains() if you want to allow space in the text field.