• Login
Community
  • Login

Replace many letters at same time.

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 305 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.
  • C
    Claudio Raphael
    last edited by Apr 2, 2025, 6:57 PM

    Hello everyone,

    I have a simple question, but I couldn’t find an answer in the countless topics I read. Yes, I know it’s my fault and that’s why I decided to ask for help.

    I need to replace

    a) 1111111

    b) 2222222

    c) 3333333

    d) 4444444

    e) 5555555

    with

    A. 111111

    B. 222222

    C. 333333

    D. 444444

    E. 555555

    But I don’t want to do it one by one, because I have documents that have 70, 80 questions. Is there a way to replace them all at once? Whts easy method?

    Thanks,

    Claudio

    T 1 Reply Last reply Apr 2, 2025, 7:06 PM Reply Quote 0
    • T
      Terry R @Claudio Raphael
      last edited by Terry R Apr 2, 2025, 7:06 PM Apr 2, 2025, 7:06 PM

      @Claudio-Raphael said in Replace many letters at same time.:

      Is there a way to replace them all at once? Whts easy method?

      My solution would be, using the “Replace” function (search mode is regular expression):
      Find What:^(.)\)
      Replace With:\U\1.
      Click on Replace All. So each character at the start of a line (which has a following )) would be replaced by it’s capitalised version of the letter.

      Terry

      C 1 Reply Last reply Apr 2, 2025, 7:12 PM Reply Quote 3
      • C
        Claudio Raphael @Terry R
        last edited by Apr 2, 2025, 7:12 PM

        @Terry-R said in Replace many letters at same time.:

        \U\1.

        0d85b100-3221-4b17-b06e-1348e613198e-image.png

        Its perfect!!

        Thank u very much Sir!!!

        Claudio Raphael

        1 Reply Last reply Reply Quote 2
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors