I want regular expression for time word and []{}^ those string format not allowed in string.
Like,
testtime -> allowed
tim etest -> allowed
thetimetest -> allowed
the time test -> not allowed
test[my -> not allowed
my}test -> not allowed
test^time -> not allowed
I develop below regular expression for word not allowed in string. But they cant check with case sensitive in c#.
^((?!Time)[^[\]{}])*$