I'm running a script to find some words, i. e. amor, man, pero, etc., but when I run it find this words even as part as other more long: amor=clamor, man=workman, pero=peronista, etc.
How can I find with findstr this words (amor, man, pero) but isolated, the bordering characters no matter (spaces, _, +, -, etc.), only I find the words isolated: the_man_tall (yes), the man_tall (yes), etc.; the_workman_fast (no), the+workman+fast (no), etc.
I use this command in my script:
Code: Select all
dir /b /s ^| findstr /i /g:keywords.txt
What I need to add?
Thanks!!!
Regards.