In the following text
My cow always gives milk. Your cow sometimes produces milk.
'always gives', 'sometimes produces'
My cow always gives milk.
always gives milk. Your cow sometimes produces
Try the non-greedy option:
? qualifier tells the regex engine to stop a match at the earliest opportunity, rather than greedily trying to match as much as possible (which is the problem you saw with