Search string inside a folder
grep -Rin 'pattern_to_match' directory_to_search
/* Exclude folder unnecessary */
grep -Rw --exclude-dir="\var" --exclude-dir="\pub" 'pattern_to_match' directory_to_search
/* The search is over this extensions */
--include \*.html