• Login
Community
  • Login

Replace multiple texts with other multiple texts

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 264 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    ric12g
    last edited by Feb 9, 2022, 7:00 PM

    Hi!
    Is this possible to replace this
    ‘abc’: ‘1000’,
    'qqq: ‘2000’,
    ‘d1’: ‘3000’,
    ‘ff2’: ‘abcd’,

    and become like this at once?
    ‘zxc’: ‘1000’,
    'aaa: ‘2000’,
    ‘d2’: ‘3000’,
    ‘ff3’: ‘efgh’,

    Thanks a lot

    A 1 Reply Last reply Feb 9, 2022, 7:24 PM Reply Quote 0
    • A
      Alan Kilborn @ric12g
      last edited by Feb 9, 2022, 7:24 PM

      @ric12g

      Yep.

      Find: (abc)|(qqq)|(d1)|(ff2)|(abcd)
      Repl: (?1zxc)(?2aaa)(?3d2)(?4ff3)(?5efgh)
      Mode: regular expression

      R 1 Reply Last reply Feb 9, 2022, 7:26 PM Reply Quote 4
      • R
        ric12g @Alan Kilborn
        last edited by Feb 9, 2022, 7:26 PM

        @alan-kilborn Works perfect! Thanks a lot!

        1 Reply Last reply Reply Quote 0
        • K
          kathie carolina
          last edited by Dec 6, 2022, 9:48 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors