Return all the strings that are in the format '[Company Name]\username' from str

How can I find strings that are in the format [Company Name]\username in a string array?

I think I need to use Regex but can’t seem to find a way to work.

https://social.technet.microsoft.com/Forums/en-US/56787a21-5da7-49f3-8e33-8f8b07f6d1d8/return-all-the-strings-that-are-in-the-format-company-nameusername-from-string-array?forum=winserverpowershell#0067ca48-13c5-4fe9-a40d-9554a6d37d5b

If it’s a string array, you can use
[pre]
$StringArray | Select-String -Pattern “[Company Name]\username”
[/pre]