Title |
Test
Find
Pattern Title
|
Expression |
^([0-1])*$
|
Description |
Expression validating a Binary string of any length |
Matches |
10101000 | 01010000 | 100000001 |
Non-Matches |
01000200 | 00021000 | e10000000 |
Author |
Rating:
Cliff Wagner
|
Source |
|
Your Rating |
|
Title: A Simplification
Name: Condar
Date: 7/24/2017 11:45:02 AM
Comment:
This can simplified as ^[01]*$
You don't need the parenthesis, and the hyphen in between the 0 and 1 isn't needed either.