I was working on creating a regex which will include all patterns except 'time', 'hour', 'minute' so, worked this out:
^(?:(?!time).)*$
how do i add for the other 2 words also? I tried as follows but it is incorrect.
^(?:(?![time][hour][minute]).)*$
Is there a better way to do this?
I am not adding the values which can be accepted as it ranges from numbers to alphabets to symbols etc.
Please help.
Thank you