AnsweredAssumed Answered

Exclude a specific string by regular expression

Question asked by piffi on Apr 21, 2020
Latest reply on Apr 27, 2020 by


I'm trying to get familiar with the Regular Expression on Property Definition Editor. I saw that it is possible to exclude a list of characters through the syntax [^abcd]*
This way if I write any string that contains one or more of these characters I get an error. for example I have an error for each of these strings: "1a" "efa" "ab" "ca" "abcd" etc ..
Is it possible to exclude a specific string? I would like all characters to be allowed except the "abcd" string. In this case the examples above would all be ok except the last one. I would like to receive error only if I write exactly the string "abcd"