Hyphen, figure dash, en dash, em dash, horizontal bar and hyphen-minus: I want to have a regex expression to detect any one of these separators (character representing an horizontal central line).
Till now I got this:
/[\-\–\—\−\―]/
but I don't know if it is robust enough and btw, I wanted to have with the character codes, to avoid changing the character upon some copy-paste conversion.