Thank you for causing me to learn something today. [Big Grin]

It appears that when Perl slurps in an entire file, the \x0D characters are ommitted.

Please try a test where the find string does not include the \x0D character: ex. "\x20\x1B\x0A".
_________________________
Home page: http://www.kixhelp.com/hb/