Tapatalk

Adding text to end of line

Adding text to end of line

2
NewbieNewbie
2

    Jul 05, 2006#1

    I have some data that looks like this:

    "mytext1"
    "mytext2"
    "mytext3"

    I want to change this so that I append the same phrase (at low prices) to each line so it looks like this:

    "mytext1 at low prices"
    "mytext2 at low prices"
    "mytext3 at low prices"

    How can I do this?

    Please note that the text has quotes around it in my text file!

    Thanks,

    Jon

    6,685587
    Grand MasterGrand Master
    6,685587

      Jul 06, 2006#2

      A very simple regular expression replace all will do it.

      Find What: "$
      Replace With: at low prices"

      Make sure your file has no trailing spaces by using Format - Trim Trailing Spaces or use the following more complex regex (UltraEdit style):

      Find What: "[ ^t]++$
      Replace With: at low prices"
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Jul 06, 2006#3

        Yes that did it thanks! And now I have found where you got it from so I have indirectly been taught how to fish! Thanks.