I'm trying to find a regexp that exclude specific word but not words containing it.
For example if we exclude the word "home"
home --> NOT OK
homefree -> OK
freehome -> OK
Any ideas ?
Thanks
NOT OK homefree" /> NOT OK homefree" /> NOT OK homefree"/>
I'm trying to find a regexp that exclude specific word but not words containing it.
For example if we exclude the word "home"
home --> NOT OK
homefree -> OK
freehome -> OK
Any ideas ?
Thanks
Copyright © 2021 Jogjafile Inc.
I would recommend taking a look at Rexegg — Word Boundaries.
If you want to match lines not containing "home" itself, you can do:
If you want to match the words alone: