In Powershell, the following gives you an array of all regex matches:
$regex = [regex] '\b\p{L}\b'
$allmatches = $regex.Matches(" A B C D E FG");
You can then access the matches using $allmatches.Item[]
(which will contain "A", "B", "C", "D", "E"
but not "F"
or "G"
).