Need a regex to match everything that does not contain a '?' -
i want regex rule: not contains ?
i tried doesn't works:
^(?!\?)$
to match string not have ?
in can use:
^[^?]*$
you can use negative lookahead as:
^(?!.*\?).*$
i want regex rule: not contains ?
i tried doesn't works:
^(?!\?)$
to match string not have ?
in can use:
^[^?]*$
you can use negative lookahead as:
^(?!.*\?).*$
Comments
Post a Comment