in reply to Searching strings within an array for a particular word.

What I usually do is
ps -aux|grep httpd|grep -v grep
which will remove any lines with "grep" in them.