Hi Les, >White space could be a tab. '[[:space:]]CP_' should work, but why not use sed >and be done with it. ah, worked!. I was thinking way to much into this. I thought that I had to ignore what I didn't want, but in thie case what I dont want does not have a space so it would not show up anyway. Thank You very much. -Jason