[Regex]::Matches($string, '((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}').Value
List US phone numbers found in a string
PS C:\> $string = 'Phone (123) 456-7890 | 123-456-7890' >> [Regex]::Matches($string, '((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}').Value (123) 456-7890 123-456-7890