A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as:
Can also handle parameter values wrapped in double quotes and parameter keys without a value (so long as there is not a dangling '=' sign)
Tested with:
And many more in the Unit Tests tab