I think no need of Regex here at all.
Most language's built-in string functions can do such a split.
For example in VB
Dim strs() as string
Dim str as string
Dim i as integer
strs = split(str,"|")
for i = 0 to ubound(strs)
debug.print strs(i)
next
if you need the result in one array, you may need an array to store the result
instead of printing it out.
VB has a native split function, while other languages may need write str.split("|") like xalnix wrote.
(asa method of any string virable.)
www.wonderstudio.cn