Find characters between Parentheses ()

$string = "LastName, FirstName ([samaccountname])"
[Regex]::Matches($string, '(?<=\()(.*?)(?=\))').Value
Details
Example