With the Accept Http Header, I have created the following regex string to validate the value of the header:
Accept
^(([^\\/]+[\\/][^\\/;,]+)(;q[ ]*=[ ]*[0-9][