Find characters between single quotes ‘
$string = "'LastName', ([samaccountname])" [Regex]::Matches($string, "(?
Find characters between Greater Than and Less Than signs
$string = "LastName, ([samaccountname])" [Regex]::Matches($string, '(?
Find characters between Brackets []
$string = "LastName, FirstName ([samaccountname])" [Regex]::Matches($string, '(?
Find characters between Parentheses ()
$string = "LastName, FirstName ([samaccountname])" [Regex]::Matches($string, '(?