Answered
How to exclude in RegEx GREP search pattern matches
I am trying to validate my RegEx GREP search match in the following way:
Match results in the string (TEST)
The word TEST starts the pattern (^TEST) but a white space (\s) is required for any other character to follow.
Valid strings:
TEST
TEST 123
TEST abc
Invalid strings:
TEST1
TESTa
Looking for a method where the pattern match returns the string (TEST) and not (TEST ) with the white space included. At the same time the match needs to fail if any character other than the white space immediatly follows TEST.
