Hi Jessica,
I just saw this question. Not sure, if you are still interested in the answer.
You can create the regex in the following manner
s2:([^|]*)
So the "s2:" identifies the marker after which the value needs to be captured.
The "[^|]" is a condition to look for any character except the pipe symbol.So it breaks if it finds one. and returns all the characters before it.