extract data from a find string

Can any one please lend a helping hand here?
eg. find /tough -name temp1 -print

After finding the location of all temp1 files. I need to extract some data( some are multiple others are just one entry) from each of the temp file.

eg Order_Error{"aaaa")
Order_Error("bbba")
Order_Error("ccccc")

I used the command

grep Order_Error|awk -F\" '{print $2}'

My concern is how do apply this command along with the find command.

Thanks in advance,

Odogbolu98
:confused: :smiley:

Pipe the find into the grep & use xargs, you also need to use the -h option on grep to supress the filenames

find /tough -name temp1 -print|xargs grep -h Order_Error|awk -F\" '{print $2}'

find /tough -name temp1 -print -exec awk -F\" '/OrderError/{print $2}' {} \;