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 TouchToneTommy 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: mouncifb
  • Content: Threads
  • Order by date
  1. mouncifb

    add string at end of line perl

    I have file called ips.txt output like this: 4.4.4.2/24 3.3.3.3/26 2.2.4.5/26 the text file has more than 1000 lines I am adding "0" at end of each line. I wanted to look like this using perl: 4.4.4.2/24 0 3.3.3.3/26 0 2.2.4.5/26 0 ands so on, any ideas?
  2. mouncifb

    Simple regular expression

    this must be a stupid question, I am newbie in perl. I have a variable called $email = "mail: firstname.lastname@domain.com"; I want to return just firstname.lastname@domain.com and store it in another variable called $email2. I know it's a perl regular expression but I have no clue. thanks

Part and Inventory Search

Back
Top