in reply to ^ to :

Hi new_monk,

I suggest that you post your code in its entirety, because your second regexp s/\^/:/g certainly works in the snippet that I wrote up to test it. My guess is that something else in your code is causing the problem.

AH

----------
Using perl 5.6.1 unless otherwise noted. Apache 1.3.27 unless otherwise noted. Redhat 7.1 unless otherwise noted.