in reply to delete FF's from a file

tr doesn't take a regular expression.

Most likely you will want to use s/// instead.

Replies are listed 'Best First'.
Re^2: delete FF's from a file
by james28909 (Deacon) on Feb 11, 2013 at 09:26 UTC
    i did try $file =~ s/\F{16}//d as well as $file =~ s/\0{16}//g
    and it still did not work
Re^2: delete FF's from a file
by james28909 (Deacon) on Feb 11, 2013 at 09:27 UTC
    i did try $file =~ s/\F{16}//d as well as $file =~ s/\F{16}//g
    and it still did not work

      Neither \F nor \FF are how you represent an "FF character" in a string.

      Most likely you want \x{FF}, but you will find more information in the documentation as linked by Anonmyous Monk here already.