Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: LeukvoorJ
  • Content: Threads
  • Order by date
  1. LeukvoorJ

    advanced (?) search and replace in perl

    I would like to find all the double letters in a string and replace them with the same letter + another character. I tried: $string =~ s/.{2}/.2/gi; But that doesn't work. I want to f.e. 'll' to become 'l2'. Can that be easily done? Thanks in advance, J

Part and Inventory Search

Back
Top