Can some regex guru tell me the magic incantation to match this situation -
-
find the word happy
-
ignore unhappy
-
match happy starting or ending with anything else
examples which should match -
###happy###
– happy –
happy
I’m trying to search through some files in linux using grep, but I can’t figure out how to construct the regex to do that.
Regards,
Dr. A>