Validate link format