in reply to Word Evaluation

Hi ,

if ($words =~ m/\s+bar\s+/){ next; }


if that is what you are asking or mean a bar separated by spaces on both the start and after the word here as like bar