title: Removing parenthesized substring from a string located after certain number of characters
body: <p>I have a task to remove a portion of string from a paragraph of text. The concept is as follows.</p>
  
  <p>1) The portion of string within the parentheses "(" and ")" from the paragraph of text should be removed.</p>
  
  <p>2) Then, <strong>do not remove</strong> anything if the opening parenthesis is further than 30 characters from the start of the original string.   </p>
  
  <h3>Example:</h3>
  
  <pre><code>$sample_string = 'Pete Fountain (born Pierre Dewey LaFontaine, Jr., July 3, 1930), is an American, New Orleans based clarinetist. According to a Belgian radio program ("La troisieme oreille", produced by Marc Danval), his name was originally Pierre de la Fontaine.';
  
  $output_string = 'Pete Fountain, is an American, New Orleans based clarinetist. According to a Belgian radio program ("La troisieme oreille", produced by Marc Danval), his name was originally Pierre de la Fontaine.'
  </code></pre>
  
  <h3>Note:</h3>
  
  <p>Though the closing parenthesis ")" is beyond 30th character of the string but still the section of string have to be removed. </p>
  
  <p>Many set of text enclosed within parentheses can appear with in 30th character.</p>