But my search string might have a lengthy word too. It might be cumbersome to use all possibilities in the command.
Is there any other way to do this ?
---------- Post updated at 04:58 AM ---------- Previous update was at 04:19 AM ----------
Alternately I found this perl command, that can be used to do case insensitive find and replace. But below perl command does not seem to be working if my search string has the "@" (at the rate) character in it.
perl -pe 's/prodops/productionoperations/i' test_file > test_file_temp
this works.
BUt if my search string is
abc@def.com
and my replace string is
xyz@jki.com, the following command is not working.
perl -pe 's/
abc@def.com/xyz@jki.com/i' test_file > test_file_temp
can anyone help me how to use this perl command to replace some string with "@" character??