nice almost what i was looking for but thier seems to be a bug or it just how grep compares the words.
$word doesnt exist on a letter or a of a $word exist.
if you type in:noo
than type in: oo
it will say 'oo' exist.
thanks for the replie. i try many more things and see what i can do.
Thank you for the help YALL.
Comment on Re^2: macthing a word a in array of words
Now that whitespace is not a factor, for the match then anchor the search term to front and rear. /^dog$/; matches dog but not doggie
let me know how you get along with those hints.