• Login
Community
  • Login

By regular expressions

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 225 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.
  • Y
    Yuliya Drimmer
    last edited by May 30, 2022, 7:34 AM

    We need a formula that could, for a certain word, take the specified number of lines under this word and place it in one line. Is it possible?

    N 1 Reply Last reply May 30, 2022, 7:58 AM Reply Quote 0
    • N
      Neil Schipper @Yuliya Drimmer
      last edited by May 30, 2022, 7:58 AM

      @yuliya-drimmer I don’t think a general solution where you specify the number of after-lines is possible.

      As you may know, a regex that matches a word and then removes line separators for a specific number of after-lines is possible. Hence, if the range of required after-lines is not too big, a family of regexes that supports the overall need could be made.

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