Add proper anchors to RegEx to prevent Format Validation vulnerbility