I have a textbox that should accept numbers 0 - 9 and the pipe symbol.
Examples of input could be:
1
1|2
1|2|3
|1|2|3|4
and so on.
This was the expression the old developer had for this but it doesn't work "^[0-9]{1}$|^[1-9]{1}[0-9]{1}$".
What would be a good expression to do this; it seems in googling most are about how to remove a pipe symbol.
Go to the complete details ...