Community
    • Login

    How to replace text at a special place in special rows?

    Scheduled Pinned Locked Moved General Discussion
    22 Posts 7 Posters 4.1k Views 1 Watching
    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.
    • Makwana PrahladM Offline
      Makwana Prahlad Banned
      last edited by

      Hello,@ErwinSchmidt17

      Follow this step,To How to replace text at a special place in special rows?

      Step 1: Press Ctrl+H to bring up the Find/Replace Dialog.
      Step 2: Choose the Regular expression option near the bottom of the dialog.

      To add a word, such as test, at the beginning of each line:
      Step 1: Type ^ in the Find what textbox
      Step 2: Type test in the Replace with textbox
      Step 3: Place cursor in the first line of the file to ensure all lines are affected
      Step 4: Click Replace All button

      To add a word, such as test, at the end of each line:
      Step 1: Type $ in the Find what textbox
      Step 2: Type test in the Replace with textbox
      Step 3: Place cursor in the first line of the file to ensure all lines are affected
      Step 4: Click Replace All button

      I hope this information will be useful.
      Thank you.

      Alan KilbornA 1 Reply Last reply Reply Quote -1
      • Alan KilbornA Offline
        Alan Kilborn @Makwana Prahlad
        last edited by

        @Makwana-Prahlad

        How is that relevant?
        You provided a solution for 2 things that were not even asked for.

        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