Hi all,
i have a DW regular expression for digits:
Match( GetText(), "^[0-9,]+$")
This works well with positive digits. Now i want to check negative digits:
Match( GetText(), "^[0-9,-]+$")
This throws an execption when i entered a "-" as first character.
Any ideas to solve the problem.
Thanks.
Frank
thanks for your help. I've some code in the editchanged-event (of_AcceptText()). The function of_AcceptText has thrown the error. Both expression
^[\-]?[0-9]+$
^[0-9,-]+$
work fine. Sorry for the chaos :)
Andreas.
This would only allow integer numbers, positive or negative.