title: how to validate regular expression for balance brackets in ruby?
body: <p>please help me to validate balance brackets for string. 
  my test string is below.</p>
  
  <pre><code>The industry [standard] for (transcribing) an audio ﬁle takes one hour for every ) 5 minutes of audio.
  </code></pre>