my requirement is that I've a pattern like 0x67AEX, but i want to replace this by 0x67AE0 by one liner. the text file also has words like express, timex,etc.,
This probably isn't the best place to ask for help with specific questions like this. I'd recommend that you ask your question on StackOverflow or Perl Monks.
This probably isn't the best place to ask for help with specific questions like this. I'd recommend that you ask your question on StackOverflow or Perl Monks.