Click on a specefic ligne

Hello,

I had a screen out text with the following format:

tab1 tab2 tab3 tab4
_All ze rr tt
_All tr gg ss
_All fr hh bb

I need to check if for i found in “tab4” the world for exemle “Happy” and return the ligne number of the mached element.