title: Capture text between two different char. Between the first{ and the last }
body: <p>Capture text between two different char using PowerShell.  Between the first{ and the last } .  Basically there is text with Json in it and I want to capture the json from it.  I have looked for examples but so far no luck.</p>
  <pre><code> 
  PROJECT Description: Azure Test Project Description
   
  PROJECT ADMINISTRATORS: jjohnson
   
  CONTRIBUTORS: jdoe
   
  BOARD PROCESS: Agile
   
  SPECIAL INSTRUCTIONS:
   
   
  {
  &quot;organization&quot;: &quot;https://dev.azure.com/cloudops&quot;,
  &quot;projectName&quot;: &quot;Test Project&quot;,
  &quot;projectDescription&quot;: &quot;Azure Test Project Description&quot;,
  &quot;projectProcessType&quot;: &quot;Agile&quot;,
  &quot;specialInstructions&quot;: &quot;&quot;,
  &quot;adminMembers&quot;: [
  {
  &quot;userSamAccountName&quot;: &quot;jjohnson&quot;,
  &quot;userEmailAddress&quot;: &quot;jjohnson@test.com&quot;,
  &quot;userPrincipalName&quot;: &quot;jjohnson@test.com&quot;,
  &quot;projectGroupType&quot;: &quot;projectAdministrator&quot;
  }
  ],
  &quot;contribMembers&quot;: [
  {
  &quot;userSamAccountName&quot;: &quot;jdoe&quot;,
  &quot;userEmailAddress&quot;: &quot;jdoe@test.com&quot;,
  &quot;userPrincipalName&quot;: &quot;jdoe@test.com&quot;,
  &quot;projectGroupType&quot;: &quot;projectContributor&quot;
  }
  ]
  }
  </code></pre>