In that case, we can use \b for word boundary and /i for case-insensitive:

//noop $regex(All is fine and we have no Problems. , /(^.*?\bwe\b)/i) | echo -a $regml(1)
result: All is fine and we

//noop $regex(All is fine and WE have no Problems. , /(^.*?\bwe\b)/i) | echo -a $regml(1)
result: All is fine and WE