$env:COMPUTERNAME -match '\d+(\D+)\d+'
will perform a regex on the hostname.
\d+(\D+)\d+
looks for non digit characters encapsulated by one or more digits.
$Matches
will give you a hashtable containing your matches