Trying to Check if a number is in Binary format
Hey all, I'm trying to write a script that takes an input and encrypts it with a cipher. In order to do that, the input text has to be in binary. I asked ChatGPT for help and it recommendeif ( Matches Reg Expr(input, "^[01]+$"),
Show("Valid"),
Show("Not Valid"));
That doesn't work, and I'm trying to figure out why. I'm also trying to figure out a way to check if a number is in binary, so ...