How would I search for a string that is on a external webpage using like egrep and curl or something. I then need it to perform an If else function...If found echo "found" else echo "not found"...

Thanks