title: RegEx to remove single quote, parentheses or square bracket from both beginning and end of a string
body: <p>I want to remove single quote, parentheses and square brackets from the beginning and end of a string using regEx. 
  Eg.</p>
  
  <ol>
  <li>'My name' - should change to My name.</li>
  <li>[My name] -  should change to My name.</li>
  <li>(My name) - should change to My name.</li>
  <li>'([My name])' - should change to My name.</li>
  <li>('My name]' - should change to My name.(Should remove all ',(,) ,[ or ] irrespective of its order)</li>
  <li>My n'am]e - should be My n'am]e (<strong>should not remove ', (,) , [ or ] if its not at the beginning or end of string</strong>)</li>
  <li>''([[[(My name)]]])'' - should be My name (number of ',() or [] can be any and all should be removed).</li>
  </ol>
  
  <p>Please help me to create a regEx for doing all these tasks at once.</p>