I have a crystal report function which requires me to trim off characters which start with a \"-\" and delete the rest following the the \"-\" (dash).
For example,
Crystal might not have regex but it certainly has all the basic string functions
Something like this should do it for you (not tested):
Left({OrderNumber}, InStr({OrderNumber}, "-") - 1)