P3rlKill3r
Programmer
I'm editing a text file that requires a lot of copy and paste. And when I say "a lot" I mean I have at least 50+ (probably more) items that I need to copy and paste in various locations as I type. I want to write a perl script that runs in the background and replaces texts as I type, instead of me having to copy and paste.
For example, I might type something like this:
"The RGHBn1209 is contained in 12 DyHUTBB409-14 with Acrobyztani. But the RGHBn1209 and the Acrobyztani has only 11 DyHUTBB409-14."
But instead of writing all that, I want to be able to write this:
"The $RGH is contained in 12 $DyH with $Acr. But the $RGH and the $Acr has only 11 $DyH."
So, when the perl process detects $RGH, it automatically repleaces it with RGHBn1209, and $DyH with DyHUTBB409-14, and etc.
Can someone help me?
For example, I might type something like this:
"The RGHBn1209 is contained in 12 DyHUTBB409-14 with Acrobyztani. But the RGHBn1209 and the Acrobyztani has only 11 DyHUTBB409-14."
But instead of writing all that, I want to be able to write this:
"The $RGH is contained in 12 $DyH with $Acr. But the $RGH and the $Acr has only 11 $DyH."
So, when the perl process detects $RGH, it automatically repleaces it with RGHBn1209, and $DyH with DyHUTBB409-14, and etc.
Can someone help me?