I strongly recommend you lose the attitude! I am simply stating it as it is!
Are you trying to use PHP to do the search and replace, or are you using Acrobat to do the search and replace?
If it is the latter, you can use Google yourself to find answers about Acrobat.
If it is the aforementioned, tell us what PHP code you are using to do the search and replace.
Again, lose the attitude, remember you were in the wrong in the first place by double posting!
If a forum didn't have rules, it would be a real cluster of people doing what they wanted.