Implemented #163: grep search feature

Please review my code, and i hope can be merged on main repo too.
Any comments are welcome.
Cheers!