How to replace only single character & to & where the output should look like#!/usr/bin/perl while(<DATA>){ print $_; } __DATA__ Hi & How r u " How r u & dear "
Hi & How r u " How r u & dear "
In reply to replace & by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |