Java Extract Regex Match From String To Binary