An alternate method is to use $regex:

Cut off after the first we:
//noop $regex(All is fine and we have no Problems., (^.*?we)) | echo -a $regml(1)

In more general terms in a remote:
//noop $regex($1-, (^.*?we)) | echo -a $regml(1)