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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.