T
TAB
Hi
I'm struggling with a regex that will check for 0-1 in a string of 1-8
characters,
as in a binary string.
Most examples I've seen checks a pattern in a complete string but I would
like to
check every input by TextBox_TextChanged event that means the string could
vary from
1 to 8 characters.
So far I'm managed to check the first char, but then it also accepts 2-9.
Any help appreciated.
I'm struggling with a regex that will check for 0-1 in a string of 1-8
characters,
as in a binary string.
Most examples I've seen checks a pattern in a complete string but I would
like to
check every input by TextBox_TextChanged event that means the string could
vary from
1 to 8 characters.
So far I'm managed to check the first char, but then it also accepts 2-9.
Any help appreciated.