Community
    • Login

    Find multipe word and affix

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 448 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.
    • Den CarlitoD Offline
      Den Carlito
      last edited by

      Hi, Can anybody help me with the correct commands.

      I would like to find multiple words in a paragraph and affix a character at the beginning of the word.

      For example, I need to find words computer, machine, laptop and affix *** at the beginning so that they will become ***computer, ***machine, ***laptop.

      Thanks for the help.

      Michael VincentM 1 Reply Last reply Reply Quote 0
      • Michael VincentM Offline
        Michael Vincent @Den Carlito
        last edited by

        @Den-Carlito said in Find multipe word and affix:

        I would like to find multiple words in a paragraph and affix a character at the beginning of the word.
        For example, I need to find words computer, machine, laptop and affix *** at the beginning so that they will become

        Menu: Search => Find

        In Find dialogue:

        Find what: (computer|machine|laptop)
        Replace with: ***\1
        Search Mode: Regular Expression

        Cheers.

        Den CarlitoD 1 Reply Last reply Reply Quote 3
        • Den CarlitoD Offline
          Den Carlito @Michael Vincent
          last edited by

          @Michael-Vincent
          That did the trick. Thank you very much.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors