Grep string search

Hi All,

I'm using aix flavour unix where im trying for the below kind of pattern to search in all the files in a directory.

I tried with different possible combinations like

grep -ir "out.*\transaction_ctry_code" *    etc....

Pattern I'm trying for :

out<any thing>country_cd

Here i want to search pattern before '::' i.e., its should not show the line:

out.src_cntry_cd::in.fin.transaction_ctry_code

Thanks,
Ganesh.

---------- Post updated at 09:17 AM ---------- Previous update was at 08:10 AM ----------

Pls igonre it now will be posting with additional queries to it.

Thanks,
Ganesh.