• Login
Community
  • Login

deleting whole lines

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 143 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.
  • K
    kracovwolf
    last edited by kracovwolf Jan 2, 2023, 3:17 PM Jan 2, 2023, 3:13 PM

    I need to delete entire lines containing parenthesis. I tried:

    \Q()\E
    ^.*(*).*
    
    A 1 Reply Last reply Jan 2, 2023, 3:54 PM Reply Quote 0
    • A
      Alan Kilborn @kracovwolf
      last edited by Alan Kilborn Jan 2, 2023, 3:55 PM Jan 2, 2023, 3:54 PM

      @kracovwolf

      Match lines containing an open parenthesis (somewhere) followed by a closing parenthesis (somewhere after the opening one) with:

      Find what: ^.*?\(.*?\).*\R
      Search mode: Regular expression

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