Этот браузер больше не поддерживается.
Выполните обновление до Microsoft Edge, чтобы воспользоваться новейшими функциями, обновлениями для системы безопасности и технической поддержкой.
Here's some hairs...
Wrong hairs!
Here is the intended hairs...
$Hairs = 'PD112345D123456F£45637'
How do we split $Hairs down to just show numbers? RegEx and -Split to the rescue.
$Hairs -split "\D+"
Here we are using anything that isn't a digit as the divider. Simples.