Displaying 1 result from an estimated 1 matches for "defabc".
Did you mean:
defab
2009 Jan 18
8
regex -> negate a word
Dear all,
let's assume I have a vector of character strings:
x <- c("abcdef", "defabc", "qwerty")
What I would like to find is the following: all elements where the word
'abc' does not appear (i.e. 3 in this case of 'x').
Since I am not really experienced with regular expressions, I started
slowly and thought I find all word were 'abc' actual...