I really can't find the right regex in java for this:
I have this string:
String greeting = "oh yes</br>Big wheels keep on turning</br>Carry me home to see my kin</br>Singing songs about the</br>I miss ol'Bamee once again</br>"
and I want to fing the sentence with the word home.
expected result: "Carry me home to see my kin"
I've tried this regex: (</br>).*?home.*?(</br>)
but it finds more then I want.
please your help here guys.....:confused: