title: Regex split string into multiple parts
body: <p>I have the following string</p>
  
  <p><code>133. Alarm (Peep peep)</code></p>
  
  <p>My goal is to split the string using regex into 3 parts and store it as a json object, like</p>
  
  <pre><code>{
     "id": "133",
     "Title": "Alarm",
     "Subtitle": "Peep peep"
  }
  </code></pre>
  
  <p>I can get the number using</p>
  
  <pre><code>function getID(text){
    let numberPattern = /\d+/g;
    let id = title.match(numberPattern);
    if(id){
      return id[0];
    }
  }
  </code></pre>
  
  <p>and the text between braces using</p>
  
  <pre><code>function getSubtitle(text){
    let braces = /\((.*)\)/i;
    let subtitle = title.match(braces);
    if(subtitle){
      return subtitle[1];
    }
  }
  </code></pre>
  
  <p>I'm wondering if I can get the three values from the string using a single regex expression (assuming that I will apply it on a long list of that string shape)</p>