Using regex to test incoming id string.