A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as:
Tested with: