Loading ...
Sorry, an error occurred while loading the content.

6955Re: [edit+] I need help to replace

Expand Messages
  • Live Queens
    Aug 26, 2012
    • 0 Attachment
      Doug, i don't have nickname

      nickname are usernames

      like Joana22 Diana32 ..etc

      so the list looks like this

      1 A00Diana
      2 A0001Ioana16
      3 A1Iuliana
      ...
      345256 Z0Andreas23

      And I have to cut off the numbers that are in front of usernames

      and to have an output like this

      A00Diana
      A0001Ioana16
      A1Iuliana
      ...
      Z0Andreas23






      ________________________________
      From: Doug Fortnam <dfortnam@...>
      To: editplus@yahoogroups.com
      Sent: Monday, August 27, 2012 3:49 AM
      Subject: RE: [edit+] I need help to replace


       
      I was playing around with this and could not get dZ's solution to work, but
      this worked:

      Find: (.*)[0-9] +(nickname[0-9]+)
      Replace: \2

      Doug

      -----Original Message-----
      From: editplus@yahoogroups.com [mailto:editplus@yahoogroups.com] On Behalf
      Of DZ-Jay
      Sent: Sunday, August 26, 2012 8:18 PM
      To: editplus@yahoogroups.com
      Subject: Re: [edit+] I need help to replace

      Hello:

      You can try something like this (without the quotation marks):

      Find: "[0-9]+(nickname[0-9]+)"
      Replace: "\1"

      dZ.

      On Aug 26, 2012, at 17:35, LiveQueens wrote:

      > hello I need to replace
      >
      > 1 nickname2
      > 2 nickname33
      > 3 nickname234
      > 4 nickname21
      > ..(365355 nickname54
      >
      > output
      >
      > nickname2
      > nickname33
      > nickname234
      > nickname21
      > nickname54
      >
      > what is the expression i need to use ?
      >
      > thank you
      >
      >

      ------------------------------------

      http://www.editplus.comYahoo! Groups Links




      [Non-text portions of this message have been removed]
    • Show all 12 messages in this topic