This might sound like a stupid question, but are they literally "^A", etc.,
or do you mean the character created by pressing ^A? Because if it's the
latter, then you might be able to do something like this:
my $string =~ s/\eA//gi;
(According to 'perldoc perlre' '\e' denotes an escape)
-----Original Message-----
From: Anurag K. Singh [mailto:AnuragS@;Amdocs.com]
Sent: Tuesday, October 22, 2002 12:07 AM
To: '[EMAIL PROTECTED]'
Subject: Control characters in file.
hi all,
I have control characters ( like ^A , ^M ) in my ascii input file
and I want to substitute them by space or just delete them.
Can anyone suggest a regex for this substitution ???
Thanks
Anurag Kumar Singh
AMDOCS DEVELOPMENT LTD.
Limassol , Cyprus.
Phone: +357-25-845384(O)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]