title: Get text with brackets
body: <p>I am using preg_match and regex to obtain information from a web page.</p>
  
  <p>The page has the following pieces of text:</p>
  
  <pre><code>Choose platform: Xbox
  Barcode (EAN) no: 0123456789
  </code></pre>
  
  <p>The first regex to obtain the platform works:</p>
  
  <pre><code>preg_match_all('#Choose Platform:.*?&gt;([^&lt;]+)&lt;/a&gt;#is', $file, $platform); 
  </code></pre>
  
  <p>However when trying to obtain the second piece of text I have having an issue:</p>
  
  <pre><code>preg_match_all('#&lt;b&gt;Barcode \\(\\EAN\\) No:&lt;/b&gt;.*?&gt;([^&lt;]+)&lt;/a&gt;#is', $file, $matches1);
  </code></pre>
  
  <p>I have tried to escape the brackets however having no luck? When escaping a bracket is it "\" or "//"?</p>