• Login
Community
  • Login

Search, Find string with parentheses around it.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 220 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.
  • R
    Richard Howard
    last edited by Oct 15, 2021, 9:51 PM

    I have a string wrapped with parentheses. I need to remove those parens.
    This code:

    posttext="(TM 9-5895-1600-10)"/>
    

    Should be replaced with this code:

    posttext="TM 9-5895-1600-10"/>
    

    The parentheses being a special character is confusing my search.
    That’s it.
    Thanks.

    P 1 Reply Last reply Oct 15, 2021, 9:58 PM Reply Quote 1
    • P
      PeterJones @Richard Howard
      last edited by Oct 15, 2021, 9:58 PM

      @Richard-Howard

      Escape special characters (“confusing my search”) with a backslash, like I showed with the parentheses in the replacement in your previous question.

      R 1 Reply Last reply Oct 15, 2021, 10:06 PM Reply Quote 1
      • R
        Richard Howard @PeterJones
        last edited by Oct 15, 2021, 10:06 PM

        @PeterJones
        Got it.
        Thanks!

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