Create Regex From String To Binary Python