I am looking for a string of specific characters in a text file; I use
Select-String -Path clm-server-test.txt -Pattern "#(S****)"
I want to get only that characters matching the pattern, but it returns also characters before and after that string.
For example :
I have a registration set that starts with
S32145 thomas
S12345 bedro
S09867 stephane
with the Select-String
command I want it to show me all the S ***
words, not the names.