Community
    • Login

    Need Help ! I want to insert an element after each 2 words

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 178 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.
    • patrick rozonP
      patrick rozon
      last edited by

      Hello,

      I just downloaded the latest version of Notepad++,

      I have text and I want to insert a ‘/’ after each 2 words like for example :

      Test test / test test / test test / test test /.

      Test test / test test / test test / test test / test test /.

      Test test / test test / test test / test test / test test / test test /
      test test / test test /.

      How to do this, and thank you very much for your support.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @patrick rozon
        last edited by

        @patrick-rozon

        A replacement using Regular expression mode:

        Search for \w+ \w+ and replace with $0 /

        1 Reply Last reply Reply Quote 3
        • patrick rozonP
          patrick rozon
          last edited by

          It works well, I thank you very much dear Alan for your support.

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