Dear Friends, I have the below string.
$str = "iabd a bdkf a kdfkj akdfakjkf"; I want to replace all the 'a' s prceeded and followed by spaces with 'A'. The output should be like this $str = "iabd A bdkf A kdfkj akdfakjkf"; Any easy reg exp? Regards, Mallik. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>