I'm trying to make a pattern-matching using HTML5 constraint-validation to check if a value is not equal to a given value.
<select pattern="(?!ZZZ)">
    <option value="ZZZ">Please select a nation™</option>
    ...
    <option value="GER">Germany (GER)</option>
    ...
    <option value="ZIM">Zimbabwe (ZIM)</option>
</select>
In case the user has selected the default value ZZZ it should match and show the error-message (which is done via JavaScript).
I tried different online tools to check whatever pattern I use but nothing.
I simply need to check if the value does not match a constant string ZZZ but I don't get it.
Already tried to go the other way around so it has to match ZZZ and invert this regex somehow. But even there I get stuck.
 
    