Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    1
    2
    1497
    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 Caraus
      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 Caraus
        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
        Copyright © 2014 NodeBB Forums | Contributors