title: Extracting matches using regex and then passing them into an array
body: <pre><code> $htmltitle1 = "{Quit|Discontinue|Stop|Cease|Give Up} Tottenham Manager {HEY}"
    $reg = "\{.*?\}"
    $found = $htmltitle1 -match $reg
  
    $spuntext = @()
    If ($found)
      {    
           ([regex]$reg).matches($htmltitle1)  
      }
  </code></pre>
  
  <p>I can see the $matches (below) but how would I extract each match into the $spuntext array? Lol I've been banging my head with this for hours trying different things.</p>
  
  <pre><code>Groups   : {{Quit|Discontinue|Stop|Cease|Give Up}}
  Success  : True
  Captures : {{Quit|Discontinue|Stop|Cease|Give Up}}
  Index    : 0
  Length   : 37
  Value    : {Quit|Discontinue|Stop|Cease|Give Up}
  
  Groups   : {{HEY}}
  Success  : True
  Captures : {{HEY}}
  Index    : 56
  Length   : 5
  Value    : {HEY}
  
  Key   : 0
  Value : {Quit|Discontinue|Stop|Cease|Give Up}
  Name  : 0
  </code></pre>