Using Regex.
I have this to find the words that end with those letters:
\S+[abc]\b
But I need all the words that has these letters in any position but not in the end.
Using Regex.
I have this to find the words that end with those letters:
\S+[abc]\b
But I need all the words that has these letters in any position but not in the end.
the ^ character is regex for not (when used in a character group) so a slight modification to your regex will produce :
\S+[^abc]\b
: mach one or more non space characters and then any character besides a,b or c whose located at the word boundary