I want to create a regex to that will allow numbers and or characters but not 0 (zero) on its own.
This is what I have so far whilst playing with regex101.com
/^([^0])([a-z1-9])*$/img
It matches the last 3 items but I also need it to match the 00 one.
0
00
12
22344
sometext
How can I do this, how can I write "if its 0 on its own I don't want it, but anything else I do want it"?