Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    22 Posts 7 Posters 1.2k 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.
    • Makwana PrahladM
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors