How to determine if a number is binary and has an even amount of zeros with only one regex?


which can be interpreted in the following way:

find any number of 1 followed by pairs of 00 with optional one or more 1s in between.

Browse More Popular Posts

Leave a Comment