title: PatternSyntaxException while trying to split by },{
body: <p>I am trying to break up an array I got through an API on a site, which Java has retrieved as a <code>String</code>.</p>
  
  <pre><code>String[] ex = exampleString.split("},{");
  </code></pre>
  
  <p>A <code>PatternSyntaxException</code> is thrown. For some reason, it really doesn't like <code>},{</code>.
  I have tried escaping it as <code>\{</code>, but it says it is an illegal escape.</p>
  
  <p>What is the proper way to escape this string?</p>