Check if a string matches the conditions of being a list of alphanumeric, underscore and minus only strings, separated by commas (which can have spaces on either side).