in reply to Re: Parsing/Removing Characters from Text File
in thread Parsing/Removing Characters from Text File
use warnings; use strict; use File::Slurp; my $s = read_file("calldata.txt"); $s =~ s/\x1b\[0-9;+A-Za-z//g; write_file("calldata.txt", $s); __END__
I looked those symbols up with a hex editor and it looks like they are 0d and 0a. Once again, thank you very much for the help.
|
|---|