Keep an eye on the asterisks that you are putting in $search_string, too. An asterisk means 'match the preceeding element 0 or more times, so the asterisk in 'C04*' means 'match the digit 4 zero or more times'.
An asterisk in 'C04\w*' would mean 'match any alphanumeric character (or underscore) zero or more times.
In reply to Re: Help with grep
by Art_XIV
in thread Help with grep
by LeeC79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |