• Login
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.
  • P
    patrick rozon
    last edited by Aug 4, 2021, 3:39 PM

    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.

    A 1 Reply Last reply Aug 4, 2021, 4:11 PM Reply Quote 0
    • A
      Alan Kilborn @patrick rozon
      last edited by Aug 4, 2021, 4:11 PM

      @patrick-rozon

      A replacement using Regular expression mode:

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

      1 Reply Last reply Reply Quote 3
      • P
        patrick rozon
        last edited by Aug 4, 2021, 8:21 PM

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

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