I'm trying to use a validator to make sure issues with "<Update Text>" in the description can't transition. The regex I think should work is this:
^(?:(?!<Update Text>).)*$
I've also tried this:
^(?!.*<Update Text>).*$[\s\S]*
Either way, it's not working.
Superficially, it seems you could match without the extra anchors and lookahead assertions.
<Update-Text>
I suspect that I don't completely understand what you're hoping to solve. Could you post a sample description that you believe should match?
Yes, that would match if that text were in there, but I need it to match when the text isn't there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I understand. Try this:
^((?!<Update Text>).)*$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That did the trick. Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.