title: REGEX Pattern to deal with or without quotes
body: <p>I have the following BBCode that I needed to parse</p>
  
  <pre>
  [url=http://www.google.com]Google[/url]
  [url="http://www.google.com"]Google[/url]
  </pre>
  
  <p>What I am trying to do is extract both <strong>http://www.google.com</strong> and <strong>Google</strong></p>
  
  <p>Now the difference between the two pieces of BBCode above is the quotes around the url in the second BBCode.</p>
  
  <p>Is it possible for a single regex code to extract my datapoints and account for the presence or abscense of quotes?</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT</strong>:  Just for further clarification.  I am currently using the following Regex pattern: </p>
  
  <pre>
  /\[URL=\"?([\s\S]*?)\"?\]([\s\S]*?)\[\/URL\]/gi
  </pre>
  
  <p>This will successfully match the URL if it is wrapped in quotes or not.  However, I would like the final result to be stripped of all quotes.  Is this possible via the actual regex pattern itself to simply not include the quotes in the match (if the quotes are even there)</p>