The "Trim Fields" node requires specifying the specific set of characters that will be removed, and it removes all of them. This is not aligned with what I understand to be the result you want.
You could solve it using the find() method and slicing:
In a Transform node it might look like this:
pipePosition = ProtocolNumber.find("|")
result = ProtocolNumber[:pipePosition]
In a :Calculate Fields" node you might do it all at once with this expression, ProtocolNumber[:ProtocolNumber.find("a")]
------------------------------
Ernest Jones
Precisely Software Inc.
PEARL RIVER NY
------------------------------