Click here to Skip to main content
15,949,686 members

Comments by Soskipic (Top 2 by date)

Soskipic 12-Jul-22 15:20pm View    
I've actually ended up combining both your suggestion and Stack Overflow's to come up with the exact desired outcome.

Select-String -Pattern "\b($($keywords -join '|'))\b"-AllMatches
Soskipic 12-Jul-22 10:46am View    
@Peter_in_2780 Thanks a lot for your suggestion. I've received an answer on Stack Overflow which works fine.
Hope someone else in a similar situation may make use of your suggestion.