Use RegEx to only query for valid UIDs