How to find and replace files contents that match a pattern? Command line

view story

http://unix.stackexchange.com – Suppose we have a folder named Projetct. I would like find each file in the folder that contains the patthern &$ at the function call. For example should replace: AnyFunction(&$arg); to AnyFunction(&$arg); Where AnyFunction is a unknown function that matchs the pattern. I'm needing this to try to solve this php problem. How can I perform this? (HowTos)