title: Regex for multiple MAC addresses separated by comma?
body: <p>I would like to know the correct regex for matching multiple MAC addresses separated my any delimiter, such as a comma. </p>
  
  <p>The regex for a single MAC address would be: <code>^([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}$</code>.</p>
  
  <p>So for multiple MAC addresses delimited by comma, i figured <code>^(([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2},?)){+}$</code> would do the trick.</p>
  
  <p>Where am i going wrong? Any help would be appreciated, thanks.</p>
  
  <p>Edit: Some people have asked about what went wrong. Well, simply put, the regex does not work. Let us say i enter a single (valid) MAC address, it is flagged as an invalid MAC address. Same goes for multiple MAC addresses delimited by comma.</p>
  
  <p>The regex is needed for a validator for a textbox on an ASP .NET page. If more details are needed, let me know.</p>