Okay...I'm finally at the point where I am seeing results. I tried the code above and the search is working but the replace is placing a reference like:
'CGI=HASH(0x1522d58)->param('someparam')'
TIA
======================
Sean Shrum
http://www.shrum.net