A binary string is a sequence of zeros and ones (e.g. 011011). As such, the regular expression [01]+ corresponds to the pattern that describes all possible binary strings.
The current directory contains the text file binary.txt1 containing binary strings, each on a separate line. Use a command from the grep family to restrict the list to the binary strings that
end with 00 (224 lines)
start and end with 1 (178 lines)
contain the substring 110 (543 lines)
contain at least three ones (655 lines)
contain at least three consecutive ones (390 lines)
With each description we give the number of matching binary strings (lines) in the file binary.txt2 between round brackets. Try to keep the regular expressions as concise as possible.