Community
    • Login

    REGEX - select the numbers situated in brackets (with the bracket)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 1 Posters 1.7k 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.
    • Vasile CarausV
      Vasile Caraus
      last edited by

      hello. I need to select the numbers situated in brackets (with the bracket).

      I try this, but doesn’t work:

      \d+|(|)

      1 Reply Last reply Reply Quote 0
      • Vasile CarausV
        Vasile Caraus
        last edited by

        I find the solution:

        \((\d+)\) Select numbers located in round brackets

        \[(\d+)\] Select numbers are in square brackets

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