My Input String could be : Systeme-D009 OR PowerPack1600-D008 OR 4000-D0017
I'm trying to match -D009 OR -D008 OR -D0017, so that I can replace/remove them and be left with Systeme OR PowerPack1600 OR 4000.
Basically I want the string present before - (hyphen) in my input string. For this I am looking for a regular expression to be used in Nintex Workflow.
Any help would be highly appreciated!