I don’t know that there are any “easy” solutions. But there are solutions.
Discard the trailing on google and resubmit input, noting for next time thru that you have done so.
1. u: (_* on Google ) $$search = 1 input(‘_0) fail(SENTENCE)
u: ($$search search for _0)
Similarly in spirit one could do (not tested) disabling the match code for the two words “on google”
u: (* _"on Google”) unmark(* _0)
u: (search for _*)
Grab the stuff as facts and discard a trailing on, and reconstitute.
2. u: (search for _* Google)
Then you could burst the wildcard into word facts, check the last one to see if it has the word on, and if so delete it and then reconstitute the phrase without it.
Add a search that expects an extra “on”
3. u: (search for _* on _* on Google)
$$tmp = join (‘_0 _ on _ ‘_1 )
as well as the normal one that doesn’t
u: (search for _* on Google)
4. memorize the entire phrase after search for, do a substitution check for “on google” deleting it and using the result.
u: (search for _*)
$$tmp = substitute(character ‘_0 “on google” “”)
etc