Start a new topic

Regex Replacement Value

I'm creating a dictionary to get text before a hyphen and a dictionary to get text after a hyphen. The regular expressions are:  ^[^-]*[^ -] or \w[^-]*$  I don't know what to use for the Replacement Value, though.  If I use --BLANK--, it returns --BLANK-- and the text.  All I need is either the text before or the text after the hyphen.  Any help would be appreciated.

Login to post a comment