Hello All, I am having the following lines of code to remove "\n" from string.
$_="Hi. \n This is test string"; s/ (\n) /HI /xisg; print; I expected the output like: Hi. HI This is test string But I got: Hi. HI This is test string Anything wrong? Regs, Durai. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.665 / Virus Database: 428 - Release Date: 4/24/2004 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>