I worked on creating a regular expression that will include all the patterns except "time", "hour", "minute", so this worked out:
^(?:(?!time).)*$
how can i add another 2 words? I tried to do the following, but this is not true.
^(?:(?![time][hour][minute]).)*$
Is there a better way to do this?
I am not adding values that can be accepted as they range from numbers to alphabets to characters, etc.
Please, help.
thank
source
share