in reply to Search and Replace.

Please use
< code> and </code>
tags around your code to make it readable.

As it currently is I doubt that you will get much (if any) help.

TheStudent