The ! tells you it want all files that DON't match the $search_string. Try it without that and see if you have any luck. If not its probably something todo with your regex. Try hand codeing the regex first, then work on creating it dynamicaly.
In reply to Re: Help with grep
by eric256
in thread Help with grep
by LeeC79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |